From 62efe4567b697116610c152fa08c7083aa8df797 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 30 Oct 2022 00:18:08 -0700 Subject: [PATCH] [mlir] Fix a warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch fixes: mlir/include/mlir/IR/PatternMatch.h:1209:72: warning: parameter ‘values’ set but not used [-Wunused-but-set-parameter] --- mlir/include/mlir/IR/PatternMatch.h | 1 + 1 file changed, 1 insertion(+) diff --git a/mlir/include/mlir/IR/PatternMatch.h b/mlir/include/mlir/IR/PatternMatch.h index 99c82dd..151fab8 100644 --- a/mlir/include/mlir/IR/PatternMatch.h +++ b/mlir/include/mlir/IR/PatternMatch.h @@ -1212,6 +1212,7 @@ processArgsAndInvokeRewrite(PDLFnT &fn, PatternRewriter &rewriter, rewriter, results, fn(rewriter, (ProcessPDLValue>:: processAsArg(values[I]))...)); + (void)values; } /// Build a rewrite function from the given function `RewriteFnT`. This -- 2.7.4