diff --git a/llvm/tools/macho-dump/macho-dump.cpp b/llvm/tools/macho-dump/macho-dump.cpp index 2b22c3b0fd91..f65c79595a95 100644 --- a/llvm/tools/macho-dump/macho-dump.cpp +++ b/llvm/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,