From 1ea54a6a5564cc1f63765b73707caaec2c23ec2e Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Sun, 18 Nov 2018 16:36:13 +0200 Subject: jvm: dont print objects if no VERBOSE_FUNCTIONS --- src/jvm/jvm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jvm/jvm.c b/src/jvm/jvm.c index 7ac8c6b..4f8fa1b 100644 --- a/src/jvm/jvm.c +++ b/src/jvm/jvm.c @@ -250,6 +250,10 @@ jvm_get_object(struct jvm *jvm, const jobject o) static void jvm_object_print(struct jvm *jvm, const struct jvm_object *obj) { +#ifndef VERBOSE_FUNCTIONS + return; +#endif + if (!obj) { verbose_log("[NULL]"); return; -- cgit v1.2.3-70-g09d2