diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-20 11:06:34 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-20 11:06:34 +0000 |
commit | 972b26b1d7efbb29a90a0fdd4eda47fd7f7af447 (patch) | |
tree | e131da12d2173f94b055df598dc181072f2e84ab /tools | |
parent | d9f82b73eb14369d6386931b96756f022b5fef8b (diff) | |
download | external_llvm-972b26b1d7efbb29a90a0fdd4eda47fd7f7af447.zip external_llvm-972b26b1d7efbb29a90a0fdd4eda47fd7f7af447.tar.gz external_llvm-972b26b1d7efbb29a90a0fdd4eda47fd7f7af447.tar.bz2 |
Remove dead code.
This is part of a future patch to use yamlio that incorrectly ended up in a
cleanup patch.
Thanks to Benjamin Kramer for reporting it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179938 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/obj2yaml/coff2yaml.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/obj2yaml/coff2yaml.cpp b/tools/obj2yaml/coff2yaml.cpp index 3098cb5..5106a4a 100644 --- a/tools/obj2yaml/coff2yaml.cpp +++ b/tools/obj2yaml/coff2yaml.cpp @@ -235,10 +235,6 @@ const char *nameLookup(const pod_pair<T, const char *> (&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") |