Skip to content

Commit 5b5525d

Browse files
committed
[flang][OpenMP] Remove unused variable (NFC)
llvm-project/flang/lib/Lower/OpenMP/ClauseProcessor.cpp:97:15: error: unused variable 'allocatorOperand' [-Werror,-Wunused-variable] mlir::Value allocatorOperand; ^ 1 error generated.
1 parent 2c703ed commit 5b5525d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

flang/lib/Lower/OpenMP/ClauseProcessor.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ genAllocateClause(Fortran::lower::AbstractConverter &converter,
9494
mlir::Location currentLocation = converter.getCurrentLocation();
9595
Fortran::lower::StatementContext stmtCtx;
9696

97-
mlir::Value allocatorOperand;
9897
const omp::ObjectList &objectList = std::get<omp::ObjectList>(clause.t);
9998
const auto &modifier =
10099
std::get<std::optional<omp::clause::Allocate::Modifier>>(clause.t);

0 commit comments

Comments
 (0)