From 12bfb391c7ad6d14eca2c401bf4a15636b231b33 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Tue, 27 Feb 2018 13:36:46 +0200 Subject: jvm: Make java implementations optional No need to implement crap that doesn't matter for app's functionality. --- src/wrapper/wrapper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/wrapper') 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"); -- cgit v1.2.3-70-g09d2