From 69b6f73b92156536ecb297dd2c58eb3c40e8fbe5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 10 Aug 2022 17:29:15 -0400 Subject: Only log custom UI URI when one is expected Also deletes a rotten comment. --- src/jalv.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/jalv.c b/src/jalv.c index 6020980..e332b91 100644 --- a/src/jalv.c +++ b/src/jalv.c @@ -1164,14 +1164,12 @@ jalv_open(Jalv* const jalv, int* argc, char*** argv) lilv_node_free(host_type); } #endif - } - } - // Create ringbuffers for UI if necessary - if (jalv->ui) { - printf("UI: %s\n", lilv_node_as_uri(lilv_ui_get_uri(jalv->ui))); - } else { - printf("UI: None\n"); + if (jalv->ui) { + printf("UI: %s\n", + lilv_node_as_uri(lilv_ui_get_uri(jalv->ui))); + } + } } // Create port and control structures -- cgit v1.2.1