"Variable declared but not used" isn't noise. If you declared a variable, that means you thought you'd need it. If it turns out you didn't need it, then your understanding of your code evolved while you were writing it, and you didn't clean up your code to match. If you missed one loose end, there's a good chance you may have missed others as well.
Also, unused variables reduce readability.