Skip to content

Commit

Permalink
qcommon: remove useless cvar reference check causing unwanted null ch…
Browse files Browse the repository at this point in the history
…eck (coverity)
  • Loading branch information
Aranud committed Mar 13, 2019
1 parent 0f049be commit c2d8c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qcommon/common.c
Expand Up @@ -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("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."); Cmd_AddCommand("crash", Com_Crash_f, "A way to force a bus error for development reasons.");
Expand Down

0 comments on commit c2d8c12

Please sign in to comment.