17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Compiler</strong> Warning Messages<br />

Variable assignment never used.<br />

Variable of this data type is never greater than this constant<br />

A variable is being compared to a constant. The maximum value of the variable could never be<br />

larger than the constant. For example the following could never be true:<br />

int x; // 8 bits, 0-255<br />

if ( x>300)<br />

Variable never used<br />

A variable has been declared and never referenced in the code.<br />

Variable used before assignment is made.<br />

351

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!