These 3 variables cause quite a few warnings in the scan-build report on llvm.
........
Revert accidental commit.
llvm-svn: 361732
return true;
do {
- unsigned Flag = 0;
+ unsigned Flag;
switch (Lex.getKind()) {
case lltok::kw_linkage:
Lex.Lex();
if (ParseToken(lltok::colon, "expected ':'"))
return true;
- bool HasLinkage = false;
+ bool HasLinkage;
GVFlags.Linkage = parseOptionalLinkageAux(Lex.getKind(), HasLinkage);
assert(HasLinkage && "Linkage not optional in summary entry");
Lex.Lex();
assert(Lex.getKind() == lltok::kw_varFlags);
Lex.Lex();
- unsigned Flag = 0;
+ unsigned Flag;
if (ParseToken(lltok::colon, "expected ':' here") ||
ParseToken(lltok::lparen, "expected '(' here") ||
ParseToken(lltok::kw_readonly, "expected 'readonly' here") ||