foxygit / doom Log in
commit b21e768d00205ee79c7f0ab6ee7549437b06afd1
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Wed Apr 27 18:15:56 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Wed Apr 27 18:15:56 2022 +0300

    strife: Remove set but otherwise unused variable
---
 src/strife/hu_stuff.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/strife/hu_stuff.c b/src/strife/hu_stuff.c
index fad70e6e..db59e49a 100644
--- a/src/strife/hu_stuff.c
+++ b/src/strife/hu_stuff.c
@@ -534,14 +534,9 @@ boolean HU_Responder(event_t *ev)
     static boolean      altdown = false;
     unsigned char       c;
     int                 i;
-    int                 numplayers;

     static int          num_nobrainers = 0;

-    numplayers = 0;
-    for (i=0 ; i<MAXPLAYERS ; i++)
-        numplayers += playeringame[i];
-
     if (ev->data1 == KEY_RSHIFT)
     {
         return false;