about summary refs log tree commit diff homepage
path: root/lib/Expr
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-10-17 23:40:17 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-10-17 23:40:17 +0000
commit0b7e41ad616a9ae717a9b93aa26afabdbc4bf01a (patch)
tree2d30f14f30b2f49f0513a0efc26ca84983830688 /lib/Expr
parentd151d06a875cbbaa0696e3c2d58158c2e2195995 (diff)
downloadklee-0b7e41ad616a9ae717a9b93aa26afabdbc4bf01a.tar.gz
Fix some -Wunused-variable warnings.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@142310 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Expr')
-rw-r--r--lib/Expr/Parser.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Expr/Parser.cpp b/lib/Expr/Parser.cpp
index a94d5614..3871286e 100644
--- a/lib/Expr/Parser.cpp
+++ b/lib/Expr/Parser.cpp
@@ -1304,7 +1304,6 @@ VersionResult ParserImpl::ParseVersionSpecifier() {
     }
   }
 
-  Token Start = Tok;
   VersionResult Res = ParseVersion();
   // Define update list to avoid use-of-undef errors.
   if (!Res.isValid()) {
@@ -1519,7 +1518,6 @@ TypeResult ParserImpl::ParseTypeSpecifier() {
   assert(Tok.kind == Token::KWWidth && "Unexpected token.");
 
   // FIXME: Need APInt technically.
-  Token TypeTok = Tok;
   int width = atoi(std::string(Tok.start+1,Tok.length-1).c_str());
   ConsumeToken();