Skip to content

Commit 4eeeeb3

Browse files
committed
[flang][openacc] Remove waitDevnum unused variable
1 parent c09dc2d commit 4eeeeb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flang/lib/Lower/OpenACC.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2429,7 +2429,7 @@ static void genACCDataOp(Fortran::lower::AbstractConverter &converter,
24292429
Fortran::semantics::SemanticsContext &semanticsContext,
24302430
Fortran::lower::StatementContext &stmtCtx,
24312431
const Fortran::parser::AccClauseList &accClauseList) {
2432-
mlir::Value ifCond, waitDevnum;
2432+
mlir::Value ifCond;
24332433
llvm::SmallVector<mlir::Value> attachEntryOperands, createEntryOperands,
24342434
copyEntryOperands, copyoutEntryOperands, dataClauseOperands, waitOperands,
24352435
async;
@@ -3037,7 +3037,7 @@ genACCUpdateOp(Fortran::lower::AbstractConverter &converter,
30373037
Fortran::semantics::SemanticsContext &semanticsContext,
30383038
Fortran::lower::StatementContext &stmtCtx,
30393039
const Fortran::parser::AccClauseList &accClauseList) {
3040-
mlir::Value ifCond, waitDevnum;
3040+
mlir::Value ifCond;
30413041
llvm::SmallVector<mlir::Value> dataClauseOperands, updateHostOperands,
30423042
waitOperands, deviceTypeOperands, asyncOperands;
30433043
llvm::SmallVector<mlir::Attribute> asyncOperandsDeviceTypes,

0 commit comments

Comments
 (0)