From 39a106d8f374d9bbf19f10aa9d47bc6ded7a25bf Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 19 Oct 2004 09:57:09 +0000 Subject: [PATCH] remove unused variables git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4672 d7cf8633-e32d-0410-b094-e92efae38249 --- host.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/host.c b/host.c index 12efae46..d861278a 100644 --- a/host.c +++ b/host.c @@ -404,10 +404,6 @@ if (crash = true), don't bother sending signofs */ void SV_DropClient(qboolean crash) { - int saveSelf; - int i; - client_t *client; - Con_Printf("Client \"%s\" dropped\n", host_client->name); // send any final messages (don't check for errors) @@ -431,7 +427,7 @@ void SV_DropClient(qboolean crash) { // call the prog function for removing a client // this will set the body to a dead frame, among other things - saveSelf = pr_global_struct->self; + int saveSelf = pr_global_struct->self; pr_global_struct->self = EDICT_TO_PROG(host_client->edict); PR_ExecuteProgram(pr_global_struct->ClientDisconnect, "QC function ClientDisconnect is missing"); pr_global_struct->self = saveSelf; -- 2.39.2