Addressed warnings from -Weverything subset:

-Wconditional-uninitialized
-Wshadow
-Wswitch-enum
-Wunreachable-code-break
-Wunused-macros
This commit is contained in:
wyld-sw
2017-01-20 15:59:11 -05:00
parent 821cb709c0
commit 4590ba16d6
20 changed files with 11 additions and 46 deletions

View File

@@ -969,7 +969,7 @@ void mag_creations(int level, struct char_data *ch, int spellnum)
void mag_rooms(int level, struct char_data *ch, int spellnum)
{
room_rnum rnum;
int duration;
int duration = 0;
bool failure = FALSE;
event_id IdNum = eNULL;
const char *msg = NULL;