diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-11-18 16:36:13 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-11-18 16:36:13 +0200 |
commit | 1ea54a6a5564cc1f63765b73707caaec2c23ec2e (patch) | |
tree | 8809d774e97dc0d3d03b3c57105cc2e8ab542326 | |
parent | 4a20764a700cab858f5c87e67dcee77d5ac18ab1 (diff) |
jvm: dont print objects if no VERBOSE_FUNCTIONS
-rw-r--r-- | src/jvm/jvm.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |