kit/ChildSession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e857c1212ba6171e0b8c44a3861ea857bbee1753 Author: Andras Timar <andras.ti...@collabora.com> AuthorDate: Thu Aug 6 16:00:34 2020 +0200 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Thu Aug 6 16:00:34 2020 +0200 fix: error: ‘id’ may be used uninitialized in this function [-Werror=maybe-uninitialized] Change-Id: Idabda74d64bb7ee00e3323aee6fa114bed1593fd diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp index 281360654..7eba3aa19 100644 --- a/kit/ChildSession.cpp +++ b/kit/ChildSession.cpp @@ -1242,7 +1242,7 @@ bool ChildSession::insertFile(const char* /*buffer*/, int /*length*/, const Stri bool ChildSession::extTextInputEvent(const char* /*buffer*/, int /*length*/, const StringVector& tokens) { - int id, type = -1; + int id = -1, type = -1; std::string text; bool error = false; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits