]> granicus.if.org Git - llvm/commitdiff
[llvm-pdbutil] Remove unused variables.
authorZachary Turner <zturner@google.com>
Sat, 2 Sep 2017 00:09:43 +0000 (00:09 +0000)
committerZachary Turner <zturner@google.com>
Sat, 2 Sep 2017 00:09:43 +0000 (00:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312395 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-pdbutil/InputFile.cpp

index f080a4cb2841e1f86960cbac0d4e672c66e64747..8b05381174dfabc2cff6db3181c2551b11b83fd4 100644 (file)
@@ -64,13 +64,13 @@ static inline bool isCodeViewDebugSubsection(object::SectionRef Section,
                                              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);