]> sigrok.org Git - libsigrok.git/commitdiff
sr_resourcepaths_get(): Drop confusing log message.
authorUwe Hermann <redacted>
Mon, 3 Sep 2018 20:18:28 +0000 (22:18 +0200)
committerUwe Hermann <redacted>
Mon, 3 Sep 2018 20:18:28 +0000 (22:18 +0200)
This is not really needed and can sometimes confuse users.

src/resource.c

index 03e63435c9de603661ec74ee3072b6a1142b016e..f2ef8c1587bfb5e0c69a368154fd9bb5d834d805 100644 (file)
@@ -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));
        }