diff --git a/src/sbbs3/sbbsecho.c b/src/sbbs3/sbbsecho.c index b04b17f244c8c14d7871df697f38c0fed24d0153..6950d8a5c8dc4f610b7afe3015669bf662be722a 100644 --- a/src/sbbs3/sbbsecho.c +++ b/src/sbbs3/sbbsecho.c @@ -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 */