I recently became in charge of updating a large portion of code. One of the things I was asked to do was to reduce the number of compiler warnings, as since there were so many it was making it difficult to figure out what was important.
I have about 700 warnings that say: "The variable XXXXX is assigned but its value is never used", and sure, I could go and fix every line by hand, but this isn't the only type of warning I have.
What I was wondering is if there was a tool (in Visual Studio or otherwise) I could use to detect a specific warning type, and make an edit to every line of code that has that warning.
I googled around a little, but couldn't find anyone with a similar problem. Maybe someone could point me in the right direction?
