From 7062052ca67207bbd4810b562ac1dcbe9b1118ad Mon Sep 17 00:00:00 2001 From: Andi Drebes Date: Fri, 7 Jan 2022 11:11:39 +0100 Subject: [PATCH] fix(compiler): Remove unused variables in lib/Dialect/TFHE/IR/TFHEOps.cpp --- compiler/lib/Dialect/TFHE/IR/TFHEOps.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/compiler/lib/Dialect/TFHE/IR/TFHEOps.cpp b/compiler/lib/Dialect/TFHE/IR/TFHEOps.cpp index d7f1dd914..e9973aadd 100644 --- a/compiler/lib/Dialect/TFHE/IR/TFHEOps.cpp +++ b/compiler/lib/Dialect/TFHE/IR/TFHEOps.cpp @@ -147,11 +147,9 @@ mlir::LogicalResult verifyUnaryGLWEOperator(Operator &op) { mlir::LogicalResult verifyApplyLookupTable(ApplyLookupTable &op) { auto ct = op.ct().getType().cast(); auto l_cst = op.l_cst().getType().cast(); - auto result = op.getResult().getType().cast(); // Check the shape of l_cst argument auto width = ct.getP(); - auto lCstShape = l_cst.getShape(); auto expectedSize = 1 << width; mlir::SmallVector expectedShape{expectedSize}; if (!l_cst.hasStaticShape(expectedShape)) {