summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/consttobool.cxx2
1 files changed, 1 insertions, 1 deletions
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;