G-7330: Always assign values to OUT parameters.
Major
Maintainability, Testability
Reason
Marking a parameter for output means that callers will expect its value to be updated with a result from the execution of the procedure. Failing to update the parameter before the procedure returns is surely an error.
Example (bad)
1 2 3 4 5 6 7 8 9 10 11 |
|
Example (good)
1 2 3 4 5 6 7 8 9 10 |
|