From 74a26fe099e27c60493b7493e47b1ad53ac333cd Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 4 Apr 2011 17:17:57 +0000 Subject: [PATCH] silence an unused function warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128831 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/macho-dump/macho-dump.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/macho-dump/macho-dump.cpp b/tools/macho-dump/macho-dump.cpp index a69368b3d7a..c040df21c6e 100644 --- a/tools/macho-dump/macho-dump.cpp +++ b/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, -- 2.34.1