Fix several misleading indentation warnings on GCC 8.1.1 (#50)
This commit is contained in:
@@ -797,6 +797,7 @@ static void do_stat_trigger(struct char_data *ch, trig_data *trig)
|
|||||||
len += snprintf(sb + len, sizeof(sb)-len, "*** Overflow - script too long! ***\r\n");
|
len += snprintf(sb + len, sizeof(sb)-len, "*** Overflow - script too long! ***\r\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd_list = cmd_list->next;
|
cmd_list = cmd_list->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -253,11 +253,12 @@ static void playing_string_cleanup(struct descriptor_data *d, int action)
|
|||||||
notify_if_playing(d->character, d->mail_to);
|
notify_if_playing(d->character, d->mail_to);
|
||||||
} else
|
} else
|
||||||
write_to_output(d, "Mail aborted.\r\n");
|
write_to_output(d, "Mail aborted.\r\n");
|
||||||
|
|
||||||
free(*d->str);
|
free(*d->str);
|
||||||
free(d->str);
|
free(d->str);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We have no way of knowing which slot the post was sent to so we can only
|
/* We have no way of knowing which slot the post was sent to so we can only
|
||||||
* give the message. */
|
* give the message. */
|
||||||
if (d->mail_to >= BOARD_MAGIC) {
|
if (d->mail_to >= BOARD_MAGIC) {
|
||||||
board_save_board(d->mail_to - BOARD_MAGIC);
|
board_save_board(d->mail_to - BOARD_MAGIC);
|
||||||
|
|||||||
Reference in New Issue
Block a user