diff options
Diffstat (limited to 'src/wrapper')
-rw-r--r-- | src/wrapper/wrapper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wrapper/wrapper.c b/src/wrapper/wrapper.c index a78026d..44e0802 100644 --- a/src/wrapper/wrapper.c +++ b/src/wrapper/wrapper.c @@ -59,7 +59,8 @@ trace(const char *const symbol) void* wrapper_create(const char *const symbol, void *function) { - assert(symbol && function); + assert(symbol); + #ifdef WRAPPER_TRACE if (!__cxa_demangle.ptr) __cxa_demangle.ptr = dlsym(RTLD_DEFAULT, "__cxa_demangle"); |