mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2025-02-17 06:19:05 +00:00
server: remove unused variable byNumber from SV_Kick_f
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
07e88902c7
commit
580b159130
@ -978,7 +978,6 @@ SV_Kick_f(client_t *client)
|
||||
const char *message = NULL;
|
||||
const char *who;
|
||||
client_t *victim;
|
||||
qboolean byNumber = false;
|
||||
int i, clientnum;
|
||||
|
||||
if (pr_global_struct->deathmatch)
|
||||
@ -991,9 +990,6 @@ SV_Kick_f(client_t *client)
|
||||
victim = svs.clients + clientnum;
|
||||
if (!victim->active)
|
||||
return;
|
||||
|
||||
byNumber = true;
|
||||
|
||||
} else {
|
||||
victim = svs.clients;
|
||||
for (i = 0; i < svs.maxclients; i++, victim++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user