[llvm] r312395 - [llvm-pdbutil] Remove unused variables.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 1 17:09:43 PDT 2017


Author: zturner
Date: Fri Sep  1 17:09:43 2017
New Revision: 312395

URL: http://llvm.org/viewvc/llvm-project?rev=312395&view=rev
Log:
[llvm-pdbutil] Remove unused variables.

Modified:
    llvm/trunk/tools/llvm-pdbutil/InputFile.cpp

Modified: llvm/trunk/tools/llvm-pdbutil/InputFile.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-pdbutil/InputFile.cpp?rev=312395&r1=312394&r2=312395&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-pdbutil/InputFile.cpp (original)
+++ llvm/trunk/tools/llvm-pdbutil/InputFile.cpp Fri Sep  1 17:09:43 2017
@@ -64,13 +64,13 @@ static inline bool isCodeViewDebugSubsec
                                              StringRef Name,
                                              BinaryStreamReader &Reader) {
   StringRef SectionName, Contents;
-  if (auto EC = Section.getName(SectionName))
+  if (Section.getName(SectionName))
     return false;
 
   if (SectionName != Name)
     return false;
 
-  if (auto EC = Section.getContents(Contents))
+  if (Section.getContents(Contents))
     return false;
 
   Reader = BinaryStreamReader(Contents, support::little);




More information about the llvm-commits mailing list