]> granicus.if.org Git - clang/commitdiff
Remove unused variable.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 12 Oct 2012 14:01:58 +0000 (14:01 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 12 Oct 2012 14:01:58 +0000 (14:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165793 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaStmtAsm.cpp

index 38f9c449147da157196ece2085445e0c8b7dedc7..c29a8b17c22b45158cd7660655e9a19aae457b64 100644 (file)
@@ -411,7 +411,6 @@ static bool buildMSAsmStrings(Sema &SemaRef,
   assert (!AsmToks.empty() && "Didn't expect an empty AsmToks!");
 
   SmallString<512> Asm;
-  unsigned startTok = 0;
   for (unsigned i = 0, e = AsmToks.size(); i < e; ++i) {
     bool isNewAsm = ((i == 0) ||
                      AsmToks[i].isAtStartOfLine() ||
@@ -420,7 +419,6 @@ static bool buildMSAsmStrings(Sema &SemaRef,
     if (isNewAsm) {
       if (i) {
         AsmStrings.push_back(Asm.str());
-        startTok = i;
         Asm.clear();
       }
       if (AsmToks[i].is(tok::kw_asm)) {