Rename improperly named variable. NFC.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 10 Aug 2015 21:25:44 +0000 (21:25 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 10 Aug 2015 21:25:44 +0000 (21:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244507 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Object/ELF.h

index f290e563abb9436b5d6cd71ac55d947a71c9b1bc..833f4a7ba86531fb190ce94ec6b68ebec933bd42 100644 (file)
@@ -385,10 +385,10 @@ ELFFile<ELFT>::ELFFile(StringRef Object, std::error_code &EC)
     if ((EC = StrTabSecOrErr.getError()))
       return;
 
-    ErrorOr<StringRef> SymtabOrErr = getStringTable(*StrTabSecOrErr);
-    if ((EC = SymtabOrErr.getError()))
+    ErrorOr<StringRef> StringTableOrErr = getStringTable(*StrTabSecOrErr);
+    if ((EC = StringTableOrErr.getError()))
       return;
-    DotShstrtab = *SymtabOrErr;
+    DotShstrtab = *StringTableOrErr;
   }
 
   EC = std::error_code();