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

@@ -1354,7 +1354,6 @@ void nanny(struct descriptor_data *d, char *arg)
case CON_GET_PROTOCOL:
write_to_output(d, "Collecting Protocol Information... Please Wait.\r\n");
return;
break;
case CON_GET_NAME: /* wait for input of name */
if (d->character == NULL) {
CREATE(d->character, struct char_data, 1);