compilerplugins/clang/consttobool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e21f5796b1d0d34522cef3888a3e5d91b86c2c00 Author: Stephan Bergmann <[email protected]> AuthorDate: Fri Nov 15 09:14:41 2019 +0100 Commit: Stephan Bergmann <[email protected]> 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 <[email protected]> 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 [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
