I get "redundant local variable" often, because our code style requires returning a variable rather than an expression to foster debugging.
I can suppress these warnings by invoking the "edit settings" quickfix and check "Ignore immediately returned variables".
But it never gets changed permanently: The next time I open the file, the warnings are back again.
I remember there was a similar bug some time ago. Shouldn't it be fixed already?