aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2012-04-26 22:07:28 +0000
committerEvan Cheng <evan.cheng@apple.com>2012-04-26 22:07:28 +0000
commit0d5c32327a5a1ee12a60cfd0842dbd5c21fe8d91 (patch)
tree1af7cc42b152633a27950a09acf5655855f5f044 /tools
parentaec9240be2bc0bc852167b26fd2e217355ecd745 (diff)
DumpSegment64Command() wasn't returning correct result. Caught by static analyzer. rdar://11329354
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155669 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/macho-dump/macho-dump.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/macho-dump/macho-dump.cpp b/tools/macho-dump/macho-dump.cpp
index 2b22c3b0fd..f65c79595a 100644
--- a/tools/macho-dump/macho-dump.cpp
+++ b/tools/macho-dump/macho-dump.cpp
@@ -194,7 +194,7 @@ static int DumpSegment64Command(MachOObject &Obj,
}
outs() << " ])\n";
- return 0;
+ return Res;
}
static void DumpSymbolTableEntryData(MachOObject &Obj,