mirror of git://git.sv.gnu.org/nano.git
tweaks: remove two redundant assignments
The mark has already been unset by do_cut_text(). And any assignment to 'mark_begin' is useless when 'mark_set' is FALSE.
This commit is contained in:
parent
ccffc548e1
commit
d87c357abe
|
@ -661,9 +661,6 @@ void redo_cut(undo *u)
|
|||
|
||||
do_cut_text(FALSE, FALSE);
|
||||
|
||||
openfile->mark_set = FALSE;
|
||||
openfile->mark_begin = NULL;
|
||||
|
||||
free_filestruct(cutbuffer);
|
||||
cutbuffer = oldcutbuffer;
|
||||
cutbottom = oldcutbottom;
|
||||
|
|
Loading…
Reference in New Issue