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);
|
do_cut_text(FALSE, FALSE);
|
||||||
|
|
||||||
openfile->mark_set = FALSE;
|
|
||||||
openfile->mark_begin = NULL;
|
|
||||||
|
|
||||||
free_filestruct(cutbuffer);
|
free_filestruct(cutbuffer);
|
||||||
cutbuffer = oldcutbuffer;
|
cutbuffer = oldcutbuffer;
|
||||||
cutbottom = oldcutbottom;
|
cutbottom = oldcutbottom;
|
||||||
|
|
Loading…
Reference in New Issue