Skip to content

Commit 0697815

Browse files
authored
[flang] Fix possibly unused variable (NFC) (#200905)
1 parent 68883a8 commit 0697815

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flang/lib/Lower/OpenMP/Atomic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ void Fortran::lower::omp::lowerAtomic(
650650
// writeActionCond is a bitmask combining the following flags:
651651
// 1) the action type (Read/Write/Update)
652652
// 2) condition (IfTrue/IfFalse)
653-
int writeActionCond = 0;
653+
[[maybe_unused]] int writeActionCond = 0;
654654
const evaluate::Assignment *writeAssign = nullptr;
655655
if (analysis.op0.what & analysis.Write) {
656656
writeAssign = get(analysis.op0.assign);

0 commit comments

Comments
 (0)