mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-24 13:01:46 +00:00
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:
parent
b23310c4e4
commit
3c698dc7d9
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue