Skip to content
Snippets Groups Projects
Commit cee11a4e authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Eliminate some harmless gcc warning about using uninitialized vars

parent 69e23e72
No related branches found
No related tags found
No related merge requests found
......@@ -1623,7 +1623,7 @@ void alter_areas_ini(FILE* afilein, FILE* afileout, FILE* nmfile
continue;
}
/* Check for areas to add */
int add_index;
int add_index = 0;
if(add_all || (add_index = strListFind(add_area, echotag, /* case-sensitive */false)) >= 0) {
if(!add_all)
strListFastDelete(add_area, add_index, 1); /* So we can check other lists */
......@@ -1740,7 +1740,7 @@ void alter_areas_bbs(FILE* afilein, FILE* afileout, FILE* nmfile
continue;
}
/* Check for areas to add */
int add_index;
int add_index = 0;
if(add_all || (add_index = strListFind(add_area, echotag, /* case-sensitive */false)) >= 0) {
if(!add_all)
strListFastDelete(add_area, add_index, 1); /* So we can check other lists */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment