From: Uwe Hermann Date: Mon, 3 Sep 2018 20:18:28 +0000 (+0200) Subject: sr_resourcepaths_get(): Drop confusing log message. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=3ad0308c554029906040442d376312d128c2b51f;p=libsigrok.git sr_resourcepaths_get(): Drop confusing log message. This is not really needed and can sometimes confuse users. --- diff --git a/src/resource.c b/src/resource.c index 03e63435..f2ef8c15 100644 --- a/src/resource.c +++ b/src/resource.c @@ -55,9 +55,7 @@ SR_API GSList *sr_resourcepaths_get(int res_type) subdir = "sigrok-firmware"; env = g_getenv("SIGROK_FIRMWARE_DIR"); - if (!env) - sr_dbg("SIGROK_FIRMWARE_DIR environment variable not set, ignoring."); - else + if (env) l = g_slist_append(l, g_strdup(env)); }