aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/Lexer.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-03-16 22:54:32 +0000
committerDouglas Gregor <dgregor@apple.com>2010-03-16 22:54:32 +0000
commite5877b08a688daec2ff19648922a9cb3b61d4425 (patch)
tree90f1942d99b226964721df3c1d2df99337c9155d /lib/Lex/Lexer.cpp
parentc815108d08b0417c6f1104e7df70dc5278839406 (diff)
Remove unused variable
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98691 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/Lexer.cpp')
-rw-r--r--lib/Lex/Lexer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Lex/Lexer.cpp b/lib/Lex/Lexer.cpp
index 60a1707fb3..2f89142409 100644
--- a/lib/Lex/Lexer.cpp
+++ b/lib/Lex/Lexer.cpp
@@ -163,7 +163,6 @@ Lexer *Lexer::Create_PragmaLexer(SourceLocation SpellingLoc,
// Now that the lexer is created, change the start/end locations so that we
// just lex the subsection of the file that we want. This is lexing from a
// scratch buffer.
- bool Invalid = false;
const char *StrData = SM.getCharacterData(SpellingLoc);
L->BufferPtr = StrData;