diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-10-12 14:01:58 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-10-12 14:01:58 +0000 |
commit | ab210055fd33e0b050b37b4c3a248cab9154a4cb (patch) | |
tree | 3c1070828823e35d140f531c5ccf5c28a0e76df9 | |
parent | 716c8dfd5f7fe9b483debfae909199ef1a7f83d3 (diff) |
Remove unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165793 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Sema/SemaStmtAsm.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Sema/SemaStmtAsm.cpp b/lib/Sema/SemaStmtAsm.cpp index 38f9c44914..c29a8b17c2 100644 --- a/lib/Sema/SemaStmtAsm.cpp +++ b/lib/Sema/SemaStmtAsm.cpp @@ -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)) { |