Compartilhar via


PREfast Warning 300 (Windows CE 5.0)

Send Feedback

300 - Discarded the results of top level expression <expression>.

This warning indicates a potential typo or operator precedence error.

The offending statement might be a top-level expression with no side effects. Although this is syntactically correct, this might not be the programmer's intention.

Example

Defective Source

i == j; // The Boolean result of '==' is ignored. Was '=' intended?

Corrected Source

i = j;

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.