summaryrefslogtreecommitdiff
path: root/retrace
diff options
context:
space:
mode:
Diffstat (limited to 'retrace')
-rw-r--r--retrace/retrace_swizzle.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/retrace/retrace_swizzle.cpp b/retrace/retrace_swizzle.cpp
index b487de18..2045f6bb 100644
--- a/retrace/retrace_swizzle.cpp
+++ b/retrace/retrace_swizzle.cpp
@@ -259,7 +259,9 @@ addObj(trace::Call &call, trace::Value &value, void *obj) {
unsigned long long address = value.toUIntPtr();
if (!address) {
- assert(!obj);
+ if (obj) {
+ warning(call) << "unexpected non-null object\n";
+ }
return;
}