File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ static bool isExact(StringRef Pattern) {
2424 Pattern.ends_with (" \" " );
2525}
2626
27- SingleStringMatcher::SingleStringMatcher (StringRef Pattern) : ExactMatch(isExact(Pattern)) {
27+ SingleStringMatcher::SingleStringMatcher (StringRef Pattern)
28+ : ExactMatch(isExact(Pattern)) {
2829 if (ExactMatch) {
2930 ExactPattern = Pattern.substr (1 , Pattern.size () - 2 );
3031 } else {
Original file line number Diff line number Diff line change @@ -1588,7 +1588,7 @@ static bool isInteger(StringRef Val) {
15881588
15891589void MappingTraits<std::unique_ptr<ELFYAML::Chunk>>::mapping(
15901590 IO &IO, std::unique_ptr<ELFYAML::Chunk> &Section) {
1591- ELFYAML::ELF_SHT Type;
1591+ ELFYAML::ELF_SHT Type = ELF::ET_NONE ;
15921592 StringRef TypeStr;
15931593 if (IO.outputting ()) {
15941594 if (auto *S = dyn_cast<ELFYAML::Section>(Section.get ()))
You can’t perform that action at this time.
0 commit comments