summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_cmds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index 3bcb1c64..378a5305 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -2563,6 +2563,7 @@ void Cmd_Build_f( gentity_t *ent )
break;
default:
+ err = -1; // stop uninitialised warning
break;
}