Barbatos, after seeing you are fixing compiler warnings, here are a few more. These are only from compiling in Debian and not those related to unused variables. I have only tested them in Debian (only one play test in a 4.2 server, and one in a 4.3 server).
The changes in the second commit are only cosmetic (indentation and tabulators instead of spaces) just to avoid compiler warnings from -Wmisleading-indentation option in new gcc6 in Debian.
Barbatos, after seeing you are fixing compiler warnings, here are a few more. These are only from compiling in Debian and not those related to unused variables. I have only tested them in Debian (only one play test in a 4.2 server, and one in a 4.3 server).