[Libreoffice-commits] core.git: compilerplugins/clang
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Fri Nov 15 11:50:47 UTC 2019
compilerplugins/clang/consttobool.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e21f5796b1d0d34522cef3888a3e5d91b86c2c00
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Nov 15 09:14:41 2019 +0100
Commit: Stephan Bergmann <sbergman at 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 <sbergman at 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;
More information about the Libreoffice-commits
mailing list