diff --git a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp index 4675eaf047c0..4ff38e2b455a 100644 --- a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp +++ b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp @@ -1533,7 +1533,7 @@ ParseResult AtomicUpdateOp::parse(OpAsmParser &parser, OperationState &result) { SmallVector clauses = {memoryOrderClause, hintClause}; SmallVector segments; OpAsmParser::OperandType x, expr; - Type xType, exprType; + Type xType; if (parseClauses(parser, result, clauses, segments) || parser.parseOperand(x) || parser.parseColon() ||