From a945ec86e0bae0edc0bb639179595119d03825fb Mon Sep 17 00:00:00 2001 From: Jacques Pienaar Date: Mon, 27 May 2019 00:51:27 -0700 Subject: [PATCH] Avoid unused variable warning. -- PiperOrigin-RevId: 250109802 --- mlir/include/mlir/LLVMIR/LLVMOps.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/include/mlir/LLVMIR/LLVMOps.td b/mlir/include/mlir/LLVMIR/LLVMOps.td index fed49d9..f0b8caf 100644 --- a/mlir/include/mlir/LLVMIR/LLVMOps.td +++ b/mlir/include/mlir/LLVMIR/LLVMOps.td @@ -74,7 +74,7 @@ def LLVM_VoidResultTypeOpBuilder : OpBuilder< "Builder *builder, OperationState *result, Type resultType, " "ArrayRef operands, ArrayRef attributes = {}", [{ - auto llvmType = resultType.dyn_cast(); + auto llvmType = resultType.dyn_cast(); (void)llvmType; assert(llvmType && "result must be an LLVM type"); assert(llvmType.getUnderlyingType() && llvmType.getUnderlyingType()->isVoidTy() && -- 2.7.4