mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-26 14:51:36 +03:00
tweaks: remove an unneeded check for NULL [coverity]
This commit is contained in:
parent
cd0917fe10
commit
2281ec9a31
@ -703,8 +703,8 @@ void do_redo(void)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get the previous undo item. */
|
/* Find the item before the current one in the undo stack. */
|
||||||
while (u != NULL && u->next != openfile->current_undo)
|
while (u->next != openfile->current_undo)
|
||||||
u = u->next;
|
u = u->next;
|
||||||
|
|
||||||
if (u->type <= REPLACE) {
|
if (u->type <= REPLACE) {
|
||||||
|
Loading…
Reference in New Issue
Block a user