If you have ever built Samba4, you will have noticed that gcc spits tons of warnings. As fixing little things all over the code is a good and easy way to get an idea what's done where, I have decided to go and fix as many of those warnings as possible.