mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
test: fix a use-of-uninitialized-variable compiler warning
False positive, we abort in the cases where this isn't initialized.
Fixes e1672f9762
This commit is contained in:
parent
93e51a85f1
commit
b00bc81929
1 changed files with 1 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ PWTEST(logger_debug_env_alpha)
|
|||
enum spa_log_level level = pwtest_get_iteration(current_test);
|
||||
enum spa_log_level default_level = pw_log_level;
|
||||
struct spa_log *default_logger = pw_log_get();
|
||||
char *lvl;
|
||||
char *lvl = NULL;
|
||||
char *oldenv = getenv("PIPEWIRE_DEBUG");
|
||||
|
||||
if (oldenv)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue