tweaks: remove an unneeded check for NULL and its associated message

The message (or its equivalent) has been there for years
and no one ever reported seeing it.
This commit is contained in:
Benno Schulenberg 2019-04-04 12:37:16 +02:00
parent 1a1519b6cd
commit cd0917fe10

View File

@ -707,11 +707,6 @@ void do_redo(void)
while (u != NULL && u->next != openfile->current_undo)
u = u->next;
if (u == NULL) {
statusline(ALERT, "Bad undo stack -- please report a bug");
return;
}
if (u->type <= REPLACE) {
f = fsfromline(u->mark_begin_lineno);
if (f == NULL)