We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68883a8 commit 0697815Copy full SHA for 0697815
1 file changed
flang/lib/Lower/OpenMP/Atomic.cpp
@@ -650,7 +650,7 @@ void Fortran::lower::omp::lowerAtomic(
650
// writeActionCond is a bitmask combining the following flags:
651
// 1) the action type (Read/Write/Update)
652
// 2) condition (IfTrue/IfFalse)
653
- int writeActionCond = 0;
+ [[maybe_unused]] int writeActionCond = 0;
654
const evaluate::Assignment *writeAssign = nullptr;
655
if (analysis.op0.what & analysis.Write) {
656
writeAssign = get(analysis.op0.assign);
0 commit comments