Guest Joe Report post Posted June 4, 2004 char x = 8; for(x; x < 100; x++) { nop(); } Produces the warning: "Warning in line: No code generated for this expression" This is incorrect, the code is valid and should be produced. The code below is functionally the same, and it does compile... char x = 8; for(x=x; x < 100; x++) { nop(); } The only difference is: x=x in the for loop. Quote Share this post Link to post Share on other sites
Stringer 0 Report post Posted June 8, 2004 for(x; x < 100; x++) Try for(; x < 100; x++ ) Quote Share this post Link to post Share on other sites