Remove unused variable.

llvm-svn: 165793
This commit is contained in:
Benjamin Kramer 2012-10-12 14:01:58 +00:00
parent d5772de0eb
commit 25a3470371
1 changed files with 0 additions and 2 deletions

View File

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