From 2aab797d011bf24ee91635bbe903e6ebe635723a Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 25 Jul 2022 20:52:22 -0700 Subject: [PATCH] [flang] Remove unused variable lastPrivBlock (NFC) This fixes the warning: llvm-project/flang/lib/Lower/OpenMP.cpp:94:10: error: unused variable 'lastPrivBlock' [-Werror,-Wunused-variable] --- flang/lib/Lower/OpenMP.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/flang/lib/Lower/OpenMP.cpp b/flang/lib/Lower/OpenMP.cpp index 9494286..0016d8c 100644 --- a/flang/lib/Lower/OpenMP.cpp +++ b/flang/lib/Lower/OpenMP.cpp @@ -91,7 +91,6 @@ static bool privatizeVars(Op &op, Fortran::lower::AbstractConverter &converter, firOpBuilder.setInsertionPointToStart(firOpBuilder.getAllocaBlock()); bool hasFirstPrivateOp = false; bool hasLastPrivateOp = false; - Block *lastPrivBlock = nullptr; // We need just one ICmpOp for multiple LastPrivate clauses. mlir::arith::CmpIOp cmpOp; -- 2.7.4