Skip to content

Commit ad5e673

Browse files
khaki3Ankur-0429
authored andcommitted
[flang][acc] Remove an unused variable (llvm#137731)
Fixes what llvm#137691 introduced.
1 parent fdb6338 commit ad5e673

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

flang/lib/Lower/OpenACC.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4131,9 +4131,8 @@ static void genGlobalCtors(Fortran::lower::AbstractConverter &converter,
41314131
},
41324132
[&](const Fortran::parser::Name &name) {
41334133
if (const auto *symbol = name.symbol) {
4134-
if (const auto *commonBlockDetails =
4135-
symbol->detailsIf<
4136-
Fortran::semantics::CommonBlockDetails>()) {
4134+
if (symbol
4135+
->detailsIf<Fortran::semantics::CommonBlockDetails>()) {
41374136
genCtors(operandLocation, *symbol);
41384137
} else {
41394138
TODO(operandLocation,

0 commit comments

Comments
 (0)