diff options
author | Chris Lattner <sabre@nondot.org> | 2011-04-04 17:17:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-04-04 17:17:57 +0000 |
commit | 74a26fe099e27c60493b7493e47b1ad53ac333cd (patch) | |
tree | bc670d0722d02634a6dc151037ef28011ffe03c3 /tools | |
parent | f49fde28772cf73502d31e2755b7c75c0e90a05c (diff) |
silence an unused function warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128831 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/macho-dump/macho-dump.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/macho-dump/macho-dump.cpp b/tools/macho-dump/macho-dump.cpp index a69368b3d7..c040df21c6 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, |