Can initialize conditionally
CodeRush Classic shows the Can initialize conditionally code issue if you conditionally assign a value to a variable after that variable was initialized.
Initialize the variable conditionally.
The code issue helps you avoid redundant assignments in you code.
int a = 25; if (b < c) a = 15;
int a; if (b < c) a = 15; else a = 25;