diff --git a/mlir/include/mlir/IR/OpDefinition.h b/mlir/include/mlir/IR/OpDefinition.h --- a/mlir/include/mlir/IR/OpDefinition.h +++ b/mlir/include/mlir/IR/OpDefinition.h @@ -1617,6 +1617,7 @@ template static LogicalResult verifyRegionTraitsImpl(Operation *op, std::tuple *) { + (void)op; LogicalResult result = success(); (void)std::initializer_list{ (result = succeeded(result) ? Ts::verifyRegionTrait(op) : failure(),