check unused variable in C project
c, compiler-construction, debugging, linux
Solution
Some compilers can issue a warning for you when an automatic variable is unused. Try
gcc -Wunused-variable
clang -Wunused-variable
Problem
I developed new C project and I use some time variables to debug or to check value ... I want to be sure if I don't forget any unused variable after achieving project. there is a Linux utilities or command to do that ?