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 ?
Some compilers can issue a warning for you when an automatic variable is unused. Try
gcc -Wunused-variable
clang -Wunused-variable
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With