mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-20 18:41:44 +01:00
Addressed warnings from -Weverything subset:
-Wconditional-uninitialized -Wshadow -Wswitch-enum -Wunreachable-code-break -Wunused-macros
This commit is contained in:
@@ -407,7 +407,6 @@ void qedit_parse(struct descriptor_data *d, char *arg)
|
||||
"Invalid choice!\r\nDo you wish to save the quest? : ");
|
||||
return;
|
||||
}
|
||||
break;
|
||||
/*-------------------------------------------------------------------*/
|
||||
case QEDIT_CONFIRM_DELETE:
|
||||
switch (*arg) {
|
||||
@@ -433,7 +432,6 @@ void qedit_parse(struct descriptor_data *d, char *arg)
|
||||
"Invalid choice!\r\nDo you wish to delete the quest? : ");
|
||||
return;
|
||||
}
|
||||
break;
|
||||
|
||||
/*-------------------------------------------------------------------*/
|
||||
case QEDIT_MAIN_MENU:
|
||||
@@ -747,3 +745,4 @@ void qedit_string_cleanup(struct descriptor_data *d, int terminator)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user