Update sc/netcode/commands.c

'i' variable is set but unused in Ban_Load_File()
This commit is contained in:
Alam Ed Arias 2023-10-15 23:57:00 -04:00
parent a60ac0508f
commit 33f6deb7f0

View file

@ -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");