Code Issues – Can initialize conditionally
January 21st, 2011
Comments off
Cause:
This code issue may improve the efficiency of the code. It is shown if the initialization can be moved to an ‘else’ block of the following conditional statement. If the condition of the conditional statement is met, than the first initialization is unnecessary. This issue is shown as a suggestion (hint).