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

@@ -408,8 +408,6 @@ ACMD(do_oasis_list)
return;
}
else if (is_abbrev(arg, "level") || is_abbrev(arg, "flags")) {
int i;
if (!*arg2) {
send_to_char(ch, "Which mobile flag or level do you want to list?\r\n");
for (i = 0; i < NUM_MOB_FLAGS; i++) {