compilerplugins/clang/consttobool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e21f5796b1d0d34522cef3888a3e5d91b86c2c00 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Fri Nov 15 09:14:41 2019 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Fri Nov 15 12:49:05 2019 +0100 Silence -Werror,-Wsometimes-uninitialized Change-Id: I491566c9f1fbbaabf9b050150b1567c5354227d0 Reviewed-on: https://gerrit.libreoffice.org/82752 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/compilerplugins/clang/consttobool.cxx b/compilerplugins/clang/consttobool.cxx index 4bd0d28e9eaa..8f7823aa8816 100644 --- a/compilerplugins/clang/consttobool.cxx +++ b/compilerplugins/clang/consttobool.cxx @@ -191,7 +191,7 @@ public: } } bool suggestion; - bool replacement; + bool replacement = {}; if (res.isInt()) { suggestion = true; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits