[cfe-commits] r144500 - /cfe/trunk/lib/Lex/ModuleMap.cpp
Benjamin Kramer
benny.kra at googlemail.com
Sun Nov 13 08:52:09 PST 2011
Author: d0k
Date: Sun Nov 13 10:52:09 2011
New Revision: 144500
URL: http://llvm.org/viewvc/llvm-project?rev=144500&view=rev
Log:
Silence unused variable warning.
Modified:
cfe/trunk/lib/Lex/ModuleMap.cpp
Modified: cfe/trunk/lib/Lex/ModuleMap.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/ModuleMap.cpp?rev=144500&r1=144499&r2=144500&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/ModuleMap.cpp (original)
+++ cfe/trunk/lib/Lex/ModuleMap.cpp Sun Nov 13 10:52:09 2011
@@ -511,8 +511,8 @@
/// 'header' string-literal
void ModuleMapParser::parseHeaderDecl() {
assert(Tok.is(MMToken::HeaderKeyword));
- SourceLocation HeaderLoc = consumeToken();
-
+ consumeToken();
+
// Parse the header name.
if (!Tok.is(MMToken::StringLiteral)) {
Diags.Report(Tok.getLocation(), diag::err_mmap_expected_header)
More information about the cfe-commits
mailing list