Amend 18f7dce3d9 - avoid uninialized local variable atlastpos

This commit is contained in:
Stephan Witt 2020-12-29 11:40:53 +01:00
parent 5a192d28f0
commit e29896d93d

View File

@ -1950,7 +1950,7 @@ bool Text::splitInset(Cursor & cur)
cur.setMark(false);
cur.selHandle(false);
cur.resetAnchor();
bool atlastpos;
bool atlastpos = false;
if (cur.pos() == 0 && cur.pit() > 0) {
// if we are at par start, remove this par
cur.text()->backspace(cur);