Hotfix for unused variable in opt mode

PiperOrigin-RevId: 237073601
This commit is contained in:
Nicolas Vasilache 2019-03-06 10:28:31 -08:00 committed by jpienaar
parent 480cc2b063
commit b2fe39977e
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ ValueHandle mlir::edsc::intrinsics::BR(BlockHandle bh,
ArrayRef<ValueHandle> operands) {
assert(bh && "Expected already captured BlockHandle");
for (auto &o : operands) {
(void)o;
assert(o && "Expected already captured ValueHandle");
}
SmallVector<Value *, 4> ops(operands.begin(), operands.end());