aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Sema/SemaStmtAsm.cpp2
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)) {