-Werror=maybe-uninitialized

Change-Id: Ib456e717b65c3dce3aaca73b2d55872a53d30828
This commit is contained in:
Stephan Bergmann
2016-02-26 13:10:41 +01:00
parent 34082fa5a8
commit 8631cecb86

View File

@@ -87,7 +87,7 @@ bool Override::VisitCXXMethodDecl(CXXMethodDecl const * decl) {
// depend on the following token at the spelling location where
// "SAL_OVERRIDE" is inserted, not on the following token in the fully-
// macro-expanded view:
bool addSpace;
bool addSpace = bool();
SourceLocation loc;
for (SourceLocation l(decl->getSourceRange().getBegin());;) {
SourceLocation sl(compiler.getSourceManager().getSpellingLoc(l));