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 tags found
No related merge requests found
...@@ -96,7 +96,7 @@ void Ban_Load_File(boolean warning) ...@@ -96,7 +96,7 @@ void Ban_Load_File(boolean warning)
Ban_Clear(); 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"); address = strtok(buffer, " \t\r\n");
mask = strtok(NULL, " \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.
Please register or to comment