[PATCH] D79560: [Object] Remove unneeded check in ELFFile<ELFT>::dynamicEntries().

Abhinav Gaba via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 10 21:49:01 PDT 2020


abhinavgaba added inline comments.


================
Comment at: llvm/lib/Object/ELF.cpp:505
   ArrayRef<Elf_Dyn> Dyn;
   size_t DynSecSize = 0;
 
----------------
This is not being read anymore. So it's causing these warnings:
`variable ‘DynSecSize’ set but not used [-Werror=unused-but-set-variable]`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79560/new/

https://reviews.llvm.org/D79560





More information about the llvm-commits mailing list