summaryrefslogtreecommitdiff
path: root/src/wrapper
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-02-27 13:36:46 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2018-02-27 13:43:05 +0200
commit12bfb391c7ad6d14eca2c401bf4a15636b231b33 (patch)
tree7ffc827805dca0dee770570ebfd7b184c86ef4e4 /src/wrapper
parent73001513015f3dcbcd9172ee3bc4686a1e983bcb (diff)
jvm: Make java implementations optional
No need to implement crap that doesn't matter for app's functionality.
Diffstat (limited to 'src/wrapper')
-rw-r--r--src/wrapper/wrapper.c3
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");