mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-12 22:02:12 +00:00
Update sc/netcode/commands.c
'i' variable is set but unused in Ban_Load_File()
This commit is contained in:
parent
a60ac0508f
commit
33f6deb7f0
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ void Ban_Load_File(boolean warning)
|
|||
|
||||
Ban_Clear();
|
||||
|
||||
for (size_t i=0; fgets(buffer, (int)sizeof(buffer), f); i++)
|
||||
for (; fgets(buffer, (int)sizeof(buffer), f);)
|
||||
{
|
||||
address = strtok(buffer, " \t\r\n");
|
||||
mask = strtok(NULL, " \t\r\n");
|
||||
|
|
Loading…
Reference in a new issue