[flang-commits] [flang] 539bbbe - [flang] Fix build error (unused data member warning)

peter klausler via flang-commits flang-commits at lists.llvm.org
Tue Mar 16 17:21:19 PDT 2021


Author: peter klausler
Date: 2021-03-16T17:21:09-07:00
New Revision: 539bbbe7b516ed8478cf5dc27797cb06c42283f9

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

LOG: [flang] Fix build error (unused data member warning)

Differential Revision: https://reviews.llvm.org/D98752

Added: 
    

Modified: 
    flang/include/flang/Parser/provenance.h

Removed: 
    


################################################################################
diff  --git a/flang/include/flang/Parser/provenance.h b/flang/include/flang/Parser/provenance.h
index 56b78a2aef9a..7ff475a2316a 100644
--- a/flang/include/flang/Parser/provenance.h
+++ b/flang/include/flang/Parser/provenance.h
@@ -290,7 +290,6 @@ class AllCookedSources {
 private:
   AllSources &allSources_;
   std::list<CookedSource> cooked_; // owns all CookedSource instances
-  int counter_{0};
   std::map<CharBlock, const CookedSource &, CharBlockPointerComparator> index_;
 };
 


        


More information about the flang-commits mailing list