Improve firmware parser and tool robustness

closes #241
This commit is contained in:
joevt 2021-10-07 18:51:39 +03:00 committed by vit9696
parent e14547c497
commit f9c35f77a6
41 changed files with 415 additions and 324 deletions

View file

@ -64,7 +64,7 @@ void initGuidDatabase(const UString & path, UINT32* numEntries)
if (line.size() == 0 || line[0] == '#')
continue;
// GUID and name are comma-separated
// GUID and name are comma-separated
std::vector<UString> lineParts;
std::string::size_type prev = 0, curr = 0;
while ((curr = line.find(',', curr)) != std::string::npos) {
@ -103,7 +103,7 @@ void initGuidDatabase(const UString & path, UINT32* numEntries)
UString guidDatabaseLookup(const EFI_GUID & guid)
{
U_UNUSED_PARAMETER(guid);
U_UNUSED_PARAMETER(guid);
return UString();
}
#endif