Fixed all "trivial" compiler warnings
Remaining warnings should be looked at carefully in the sense that they can all reveal bugs and one cannot know without understanding the logic there.
Remaining warnings should be looked at carefully in the sense that they can all reveal bugs and one cannot know without understanding the logic there.