Skip to content
Snippets Groups Projects
Commit 33f6deb7 authored by Alam Ed Arias's avatar Alam Ed Arias
Browse files

Update sc/netcode/commands.c

'i' variable is set but unused in Ban_Load_File()
parent a60ac050
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment