Removing dead code and bypassing redundant code are both reasonable bug fixes. The kind of change to be avoided is gratuitous replacement of older idioms with newer ones.

--
Nick Coghlan (via Gmail on Android, so likely to be more terse than usual)