From ef3c7621afce287c520cf67231b28eef2a4841ab Mon Sep 17 00:00:00 2001 From: Molgrum Date: Mon, 29 Oct 2007 06:46:04 +0000 Subject: [PATCH] Warning fixes. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2768 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/sv_init.c | 12 +++++++++--- engine/server/sv_main.c | 4 +++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/engine/server/sv_init.c b/engine/server/sv_init.c index 2bc45489f..ea1a5b4b3 100644 --- a/engine/server/sv_init.c +++ b/engine/server/sv_init.c @@ -989,9 +989,11 @@ void SV_SpawnServer (char *server, char *startspot, qboolean noents, qboolean us { case GT_MAX: break; -#ifdef VM_Q1 case GT_Q1QVM: +#ifdef VM_Q1 + // FIXME: missing code here? #endif + break; case GT_PROGS: ent = EDICT_NUM(svprogfuncs, 0); ent->isfree = false; @@ -1205,9 +1207,11 @@ void SV_SpawnServer (char *server, char *startspot, qboolean noents, qboolean us { case GT_MAX: break; -#ifdef VM_Q1 case GT_Q1QVM: +#ifdef VM_Q1 + // FIXME: missing code here? #endif + break; case GT_PROGS: pr_edict_size = PR_LoadEnts(svprogfuncs, file, spawnflagmask); break; @@ -1228,9 +1232,11 @@ void SV_SpawnServer (char *server, char *startspot, qboolean noents, qboolean us { case GT_MAX: break; -#ifdef VM_Q1 case GT_Q1QVM: +#ifdef VM_Q1 + // FIXME: missing code here? #endif + break; case GT_PROGS: pr_edict_size = PR_LoadEnts(svprogfuncs, sv.worldmodel->entities, spawnflagmask); break; diff --git a/engine/server/sv_main.c b/engine/server/sv_main.c index bf7a3fac2..0214c8407 100644 --- a/engine/server/sv_main.c +++ b/engine/server/sv_main.c @@ -420,9 +420,11 @@ void SV_DropClient (client_t *drop) { case GT_MAX: break; -#ifdef VM_Q1 case GT_Q1QVM: +#ifdef VM_Q1 + // FIXME: missing code here? #endif + break; case GT_PROGS: if (svprogfuncs) {