Why is “unused variable” warning not reported for all variables?


This question already has an answer here:


It is not a primitive value, so its constructor and/or destructor might have desired side effects.

Classical example: a Timer object which measures the time between its construction and destruction: http://stackoverflow.com/a/5302868/1938163

Need Your Help

Tomcat - Set working directory when not running as a service

tomcat java-ee

I'm trying to get my web app to recognize my working directory.

Set checked boxes for a checkBox-list dialog

android dialog checkbox checkboxlist

I've got a dialog which shows a list of checkBoxes. I'd like to set different boxes checked each time the dialog is showed. But that only works the first time.. I want it work every time the dialog...