fix uinited var warning

This commit is contained in:
Nikita Smith
2025-06-20 13:07:07 -07:00
committed by Ryan Fleury
parent 153d78ec6a
commit 2ba9f2a61b
+1 -1
View File
@@ -18,7 +18,7 @@ pe_name_from_export_parse(PE_ExportParse *exp)
internal U16
pe_hint_or_ordinal_from_export_parse(PE_ExportParse *exp)
{
U16 hint_or_ordinal;
U16 hint_or_ordinal = max_U16;
if (exp->import_by == COFF_ImportBy_Ordinal) {
hint_or_ordinal = exp->ordinal;
} else if (exp->import_by == COFF_ImportBy_Name) {