Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use clang with a -Wall and -Wextra, which will complain about all sorts of stuff I generally want to know about, including unused variables (I think gcc does the same?). For the rare cases where I actually want to leave a variable unused I do the above to make the warning go away.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: