Fixed dead code warnings

Closes https://github.com/AngryLawyer/rust-sdl2/issues/127