We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ba339b commit 51f6438Copy full SHA for 51f6438
llvm/lib/ObjectYAML/ELFYAML.cpp
@@ -1588,7 +1588,7 @@ static bool isInteger(StringRef Val) {
1588
1589
void MappingTraits<std::unique_ptr<ELFYAML::Chunk>>::mapping(
1590
IO &IO, std::unique_ptr<ELFYAML::Chunk> &Section) {
1591
- ELFYAML::ELF_SHT Type = ELF::ET_NONE;
+ ELFYAML::ELF_SHT Type;
1592
StringRef TypeStr;
1593
if (IO.outputting()) {
1594
if (auto *S = dyn_cast<ELFYAML::Section>(Section.get()))
0 commit comments