Fix -Wunused-variable (#3224)

This commit is contained in:
Fangrui Song 2019-11-11 11:55:50 -08:00 committed by Martin Kinkelin
parent 91aeb0e674
commit 637a8af264

View file

@ -520,7 +520,7 @@ void CompoundAsmStatement_toIR(CompoundAsmStatement *stmt, IRState *p) {
}
// if internal, no special handling is necessary, skip
std::vector<Identifier *>::const_iterator it, end;
std::vector<Identifier *>::const_iterator end;
end = asmblock->internalLabels.end();
bool skip = false;
for (auto il : asmblock->internalLabels) {