diff --git a/tools/obj2yaml/coff2yaml.cpp b/tools/obj2yaml/coff2yaml.cpp index 3098cb52749..5106a4a44b6 100644 --- a/tools/obj2yaml/coff2yaml.cpp +++ b/tools/obj2yaml/coff2yaml.cpp @@ -235,10 +235,6 @@ const char *nameLookup(const pod_pair (&Arr)[N], static void yamlCOFFHeader(const object::coff_file_header *Header, raw_ostream &Out) { - COFF::header H; - H.Machine = Header->Machine; - H.Characteristics = Header->Characteristics; - Out << "header: !Header\n"; Out << " Machine: "; Out << nameLookup(MachineTypePairs, Header->Machine, "# Unknown_MachineTypes")