sv_main.c (SV_Init): use a return instead of a dummy assignment after Sys_Error to silence compiler

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1442 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2017-07-28 20:00:56 +00:00
parent b23310c4e4
commit 3c698dc7d9

View file

@ -127,7 +127,7 @@ void SV_Init (void)
default: default:
Sys_Error ("Bad protocol version request %i. Accepted values: %i, %i, %i.", Sys_Error ("Bad protocol version request %i. Accepted values: %i, %i, %i.",
sv_protocol, PROTOCOL_NETQUAKE, PROTOCOL_FITZQUAKE, PROTOCOL_RMQ); sv_protocol, PROTOCOL_NETQUAKE, PROTOCOL_FITZQUAKE, PROTOCOL_RMQ);
p = "Unknown"; return; /* silence compiler */
} }
Sys_Printf ("Server using protocol %i (%s)\n", sv_protocol, p); Sys_Printf ("Server using protocol %i (%s)\n", sv_protocol, p);
} }