removed warnings from build

Fixed a few warnings about white space and dead code
I get a dead code warning with `make`. I haven't looked well into the build script but I would guess it enables lints that are not checked by default by `rustc`.
So some programs compile without warnings with rustc, but had "dead code" or "trailing whitespace" warnings with `make`.