Created
November 7, 2013 23:27
-
-
Save mdutton3/7363667 to your computer and use it in GitHub Desktop.
This bug/warning confused me for several minutes...doh. For the record - I didn't write this crap.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for( int j = ... ) | |
{ | |
int i0; // WARNING: Unreferenced local variable | |
int i1 = SomeComputation(); | |
for( int i = 0, i0 = i1; i < k; i = i1, i1 = i3 ) | |
{ | |
if( i1 == k ) | |
{ | |
if( !strstr( m_arr[j].strName, "loop" ) ) | |
{ | |
break; | |
} | |
else | |
{ | |
i2 = 0, i3 = i0; | |
} | |
} | |
/* blah blah nothhing to do with i0 */ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment