In this section:
This warning is generated whenever a variable is declared, but never actually used. Code is likely problematic, but can still be parsed and analyzed.
|
The following code fragment shows an example program that generates PARSE_WARNING
:
struct Foo{} void junk() { Foo; } |
[nothing.cc:5] **PARSE_WARNING** Parser warning. >> Foo; declaration does not declare anything |
Correct the error based on the information presented in the diagnostic output.