[cfe-commits] r165793 - /cfe/trunk/lib/Sema/SemaStmtAsm.cpp

Benjamin Kramer benny.kra at googlemail.com
Fri Oct 12 07:01:58 PDT 2012


Author: d0k
Date: Fri Oct 12 09:01:58 2012
New Revision: 165793

URL: http://llvm.org/viewvc/llvm-project?rev=165793&view=rev
Log:
Remove unused variable.

Modified:
    cfe/trunk/lib/Sema/SemaStmtAsm.cpp

Modified: cfe/trunk/lib/Sema/SemaStmtAsm.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaStmtAsm.cpp?rev=165793&r1=165792&r2=165793&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaStmtAsm.cpp (original)
+++ cfe/trunk/lib/Sema/SemaStmtAsm.cpp Fri Oct 12 09:01:58 2012
@@ -411,7 +411,6 @@
   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 @@
     if (isNewAsm) {
       if (i) {
         AsmStrings.push_back(Asm.str());
-        startTok = i;
         Asm.clear();
       }
       if (AsmToks[i].is(tok::kw_asm)) {





More information about the cfe-commits mailing list