SRC\file.c:224: warning: [#177-D] variable <name> was declared but never referenced Reason: The variable is not mentioned in any code in it's scope (the reachability region).
Example 1: void function func( void ) { int var; /* variable "var" is not mentioned in the code */ } Example 2: void function func( void ) { int var; /* variable "var" is mentioned with a typo */ varr = 5; } Problems:
0 Comments
Your comment will be posted after it is approved.
Leave a Reply. |
AuthorWarnings are important! Archives
May 2017
Categories |