[flang-commits] [flang] a80bf18 - [flang][NFC] Remove unused variable

Valentin Clement via flang-commits flang-commits at lists.llvm.org
Thu Mar 24 12:44:32 PDT 2022


Author: Valentin Clement
Date: 2022-03-24T20:43:11+01:00
New Revision: a80bf1856546204ecb5e4c849f38a9055b0f4db2

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

LOG: [flang][NFC] Remove unused variable

Added: 
    

Modified: 
    flang/lib/Lower/OpenACC.cpp

Removed: 
    


################################################################################
diff  --git a/flang/lib/Lower/OpenACC.cpp b/flang/lib/Lower/OpenACC.cpp
index f6db839000690..4a1ab2f4f75c3 100644
--- a/flang/lib/Lower/OpenACC.cpp
+++ b/flang/lib/Lower/OpenACC.cpp
@@ -898,7 +898,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> waitOperands;
 
   // Async clause have optional values but can be present with


        


More information about the flang-commits mailing list