]> granicus.if.org Git - clang/commitdiff
Remove unused but set variable.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 3 May 2011 18:46:17 +0000 (18:46 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 3 May 2011 18:46:17 +0000 (18:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130776 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/ParsePragma.cpp

index 46225c8e79109bdc5e28cc24429d4768e4cdb8ad..c30ab75b76e8a2811268de299dd56d3ffebd0bd0 100644 (file)
@@ -295,7 +295,6 @@ void PragmaUnusedHandler::HandlePragma(Preprocessor &PP,
     PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_lparen) << "unused";
     return;
   }
-  SourceLocation LParenLoc = Tok.getLocation();
 
   // Lex the declaration reference(s).
   llvm::SmallVector<Token, 5> Identifiers;