silence an unused function warning.
authorChris Lattner <sabre@nondot.org>
Mon, 4 Apr 2011 17:17:57 +0000 (17:17 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 4 Apr 2011 17:17:57 +0000 (17:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128831 91177308-0d34-0410-b5e6-96231b3b80d8

tools/macho-dump/macho-dump.cpp

index a69368b3d7a8ee42d0b5e1751acc2ed7ecaa2a0f..c040df21c6e3c01d7dd6122cc45b9a8ea8e246d4 100644 (file)
@@ -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,