Got rid of all warnings when building server_release by eliminating several unused variables. Also fixed an incorrect sizeof parameter.