From: divverent Date: Wed, 4 Feb 2015 12:23:55 +0000 (+0000) Subject: Kill an useless NULL check that only confuses. X-Git-Tag: xonotic-v0.8.1~29^2~20 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=da801b44b8f293e9cc4371fd664c96058fadaf6b;p=xonotic%2Fdarkplaces.git Kill an useless NULL check that only confuses. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12140 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_main.c b/sv_main.c index bfe2a794..17a171df 100644 --- a/sv_main.c +++ b/sv_main.c @@ -933,7 +933,7 @@ void SV_SendServerinfo (client_t *client) MSG_WriteString (&client->netconnection->message,message); SV_StopDemoRecording(client); // to split up demos into different files - if(sv_autodemo_perclient.integer && client->netconnection) + if(sv_autodemo_perclient.integer) { char demofile[MAX_OSPATH]; char ipaddress[MAX_QPATH];