From 2c6cefc9c3a5056cac65e073e06cc49c35d88704 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 4 Apr 2011 17:17:57 +0000 Subject: silence an unused function warning. llvm-svn: 128831 --- llvm/tools/macho-dump/macho-dump.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/tools/macho-dump/macho-dump.cpp') diff --git a/llvm/tools/macho-dump/macho-dump.cpp b/llvm/tools/macho-dump/macho-dump.cpp index a69368b3d7a..c040df21c6e 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, -- cgit v1.2.3