Doesn't this miss the code for actually setting it or returning an error/warning?
Just silently doing nothing feel wrong to me.