Skip to content
Permalink
Browse files

qcommon: remove useless cvar reference check causing unwanted null ch…

…eck (coverity)
  • Loading branch information...
Aranud committed Mar 13, 2019
1 parent 0f049be commit c2d8c1229284b41f105434097d720f1fe112b672
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/qcommon/common.c
@@ -2971,7 +2971,7 @@ void Com_Init(char *commandLine)
}
}

if (com_developer && com_developer->integer)
if (com_developer->integer)
{
Cmd_AddCommand("error", Com_Error_f, "Just throw a fatal error to test error shutdown procedures.");
Cmd_AddCommand("crash", Com_Crash_f, "A way to force a bus error for development reasons.");

0 comments on commit c2d8c12

Please sign in to comment.
You can’t perform that action at this time.