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.master
parent
1a1519b6cd
commit
cd0917fe10
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue