diff --git a/flang/lib/Lower/OpenACC.cpp b/flang/lib/Lower/OpenACC.cpp --- a/flang/lib/Lower/OpenACC.cpp +++ b/flang/lib/Lower/OpenACC.cpp @@ -99,7 +99,6 @@ if (loopDirective.v == llvm::acc::ACCD_loop) { auto &firOpBuilder = converter.getFirOpBuilder(); auto currentLocation = converter.getCurrentLocation(); - llvm::ArrayRef argTy; // Add attribute extracted from clauses. const auto &accClauseList =