From e29896d93da4bf4cd452fdba7e1a0fca3432616b Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Tue, 29 Dec 2020 11:40:53 +0100 Subject: [PATCH] Amend 18f7dce3d98 - avoid uninialized local variable atlastpos --- src/Text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Text.cpp b/src/Text.cpp index 8435b73972..19b3af5b28 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -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);