diff --git a/llvm/tools/macho-dump/macho-dump.cpp b/llvm/tools/macho-dump/macho-dump.cpp index a69368b3d7a8..c040df21c6e3 100644 --- a/llvm/tools/macho-dump/macho-dump.cpp +++ b/llvm/tools/macho-dump/macho-dump.cpp @@ -49,6 +49,7 @@ static void Warning(const Twine &Msg) { /// +#if 0 static int DumpHeader(MachOObject &Obj) { // Read the header. const macho::Header &Hdr = Obj.getHeader(); @@ -67,6 +68,7 @@ static int DumpHeader(MachOObject &Obj) { return 0; } +#endif static void DumpSegmentCommandData(StringRef Name, uint64_t VMAddr, uint64_t VMSize,