summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-09-16 12:52:29 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-09-16 12:52:29 +0200
commit563336ff1a4ed88401bf754ef7762542a4986d12 (patch)
tree3e0f05442ec4acb2e457ea0ede49fa7db333c1ed
parent0839439b73a3c9c0c8a1e685eafc911e179fdf61 (diff)
downloadopenwar-563336ff1a4ed88401bf754ef7762542a4986d12.tar.gz
openwar-563336ff1a4ed88401bf754ef7762542a4986d12.tar.bz2
openwar-563336ff1a4ed88401bf754ef7762542a4986d12.zip
Fixes SIGILL crashes on clang.
-rw-r--r--disasm/disasm.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/disasm/disasm.cpp b/disasm/disasm.cpp
index a38a71d..9ba018a 100644
--- a/disasm/disasm.cpp
+++ b/disasm/disasm.cpp
@@ -156,6 +156,8 @@ int parse_dumpobject_options(std::vector<std::string> arguments) {
}
dump_object(file_path.string(), object_id);
+
+ return 0;
}
int parse_extractfunction_options(std::vector<std::string> arguments) {
@@ -198,4 +200,6 @@ int parse_extractfunction_options(std::vector<std::string> arguments) {
}
extract_function(file_path.string(), object_id, function_offset);
+
+ return 0;
}