Deletion of unnecessary checks before specific function calls
A couple of functions performs input parameter validation before their implementations will try further actions with side effects. Some calling functions perform similar safety checks.
Functions which release a system resource are occasionally documented in the way that they tolerate the passing of a null pointer for example.
I do not see a need because of this fact that a function caller repeats a corresponding check.
Refresh
Name | Changed |
---|
Comments 0