[flang-commits] [flang] 32c9208 - [flang][openacc] Remove unused variable. NFC.

Benjamin Kramer via flang-commits flang-commits at lists.llvm.org
Tue Jan 4 12:48:51 PST 2022


Author: Benjamin Kramer
Date: 2022-01-04T21:47:28+01:00
New Revision: 32c92087502697663d781942a462ea478d4209c7

URL: https://github.com/llvm/llvm-project/commit/32c92087502697663d781942a462ea478d4209c7
DIFF: https://github.com/llvm/llvm-project/commit/32c92087502697663d781942a462ea478d4209c7.diff

LOG: [flang][openacc] Remove unused variable. NFC.

Added: 
    

Modified: 
    flang/lib/Lower/OpenACC.cpp

Removed: 
    


################################################################################
diff  --git a/flang/lib/Lower/OpenACC.cpp b/flang/lib/Lower/OpenACC.cpp
index 49bccc1d46c6e..f64978d7e8263 100644
--- a/flang/lib/Lower/OpenACC.cpp
+++ b/flang/lib/Lower/OpenACC.cpp
@@ -926,7 +926,7 @@ static void genACC(Fortran::lower::AbstractConverter &converter,
   const auto &accClauseList =
       std::get<Fortran::parser::AccClauseList>(waitConstruct.t);
 
-  mlir::Value ifCond, asyncOperand, waitDevnum, async;
+  mlir::Value ifCond, waitDevnum, async;
   SmallVector<mlir::Value, 2> waitOperands;
 
   // Async clause have optional values but can be present with


        


More information about the flang-commits mailing list