-Werror=maybe-uninitialized
Change-Id: Ib456e717b65c3dce3aaca73b2d55872a53d30828
This commit is contained in:
@@ -87,7 +87,7 @@ bool Override::VisitCXXMethodDecl(CXXMethodDecl const * decl) {
|
|||||||
// depend on the following token at the spelling location where
|
// depend on the following token at the spelling location where
|
||||||
// "SAL_OVERRIDE" is inserted, not on the following token in the fully-
|
// "SAL_OVERRIDE" is inserted, not on the following token in the fully-
|
||||||
// macro-expanded view:
|
// macro-expanded view:
|
||||||
bool addSpace;
|
bool addSpace = bool();
|
||||||
SourceLocation loc;
|
SourceLocation loc;
|
||||||
for (SourceLocation l(decl->getSourceRange().getBegin());;) {
|
for (SourceLocation l(decl->getSourceRange().getBegin());;) {
|
||||||
SourceLocation sl(compiler.getSourceManager().getSpellingLoc(l));
|
SourceLocation sl(compiler.getSourceManager().getSpellingLoc(l));
|
||||||
|
Reference in New Issue
Block a user