This rule catches the simple cases where you could have declared a variable and initialized it in the declaration. It will only catch variable declarations and assignments that are on the same "level".

Use this with the Move Variable Declaration to Usage Level rule to put variables in the smallest scope possible.

Last edited Feb 22, 2009 at 6:42 PM by JeffLeBert, version 2

Comments

No comments yet.