test: fix a variable initialization

Technically valid since it's a null pointer but let's not do this.
This commit is contained in:
Peter Hutterer 2021-10-12 10:38:52 +10:00 committed by Wim Taymans
parent 36c1917a16
commit 04d32ba794

View file

@ -295,7 +295,7 @@ PWTEST(logger_debug_env_topic_all)
struct spa_log *default_logger = pw_log_get();
char *oldenv = getenv("PIPEWIRE_DEBUG");
char lvlstr[32];
char *lvl = SPA_LOG_LEVEL_NONE;
char *lvl = "X";
if (oldenv)
oldenv = strdup(oldenv);