SRC\file.c:734: warning: [#550-D] variable <name> was set but never used Reason: 1. Not using assigned variable in the current scope, either intentionally (the code is not finished) or not. 2. Forgot to mention volatile for the variable, which is actually used, but somewhere else. 3. Assigning to a pointer, which is one of the parameters in the function declaration. Use void(parameter); at the beginning of function to suppress the warning. NB! But make sure you are not assigning any local variable address to such a parameter.
0 Comments
Your comment will be posted after it is approved.
Leave a Reply. |
AuthorWarnings are important! Archives
May 2017
Categories |