[flang-commits] [flang] 27c3db3 - [flang] Remove unused variable

peter klausler via flang-commits flang-commits at lists.llvm.org
Thu May 20 14:09:11 PDT 2021


Author: peter klausler
Date: 2021-05-20T14:08:43-07:00
New Revision: 27c3db32c033663dbdfa8b92ed962a990b99f21e

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

LOG: [flang] Remove unused variable

Fixes the clang build of flang/runtime/transformational.cpp.

Added: 
    

Modified: 
    flang/runtime/transformational.cpp

Removed: 
    


################################################################################
diff  --git a/flang/runtime/transformational.cpp b/flang/runtime/transformational.cpp
index 31262fbaadd3..a8759595dca8 100644
--- a/flang/runtime/transformational.cpp
+++ b/flang/runtime/transformational.cpp
@@ -267,7 +267,6 @@ void RTNAME(EoshiftVector)(Descriptor &result, const Descriptor &source,
   SubscriptValue extent{source.GetDimension(0).Extent()};
   std::size_t elementLen{
       AllocateResult(result, source, 1, &extent, terminator, "EOSHIFT")};
-  std::optional<int> blankFill; // kind of character
   if (boundary) {
     RUNTIME_CHECK(terminator, boundary->rank() == 0);
     RUNTIME_CHECK(terminator,


        


More information about the flang-commits mailing list