Fixes some compiler warnings

Your response and fast fix of the last issue encouraged me to share back some other small fixes I also did so far.
I'm compiling in a -Wall environment, where unused parameters issue warnings, which tend to jam the console a lot due to all the template magic I put around your library. 
Also I prefer having 0 pointers over pointers with random contents.