mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 12:00:17 +01:00
main: fix compiler warning about uninitialized auto variable in _init_nm_debug()
Fixes: c7d2e1f3bc
This commit is contained in:
parent
0af0f167dd
commit
8aead609b3
1 changed files with 1 additions and 1 deletions
|
|
@ -87,6 +87,7 @@ _set_g_fatal_warnings (void)
|
|||
static void
|
||||
_init_nm_debug (NMConfig *config)
|
||||
{
|
||||
gs_free char *debug = NULL;
|
||||
const guint D_RLIMIT_CORE = 1;
|
||||
const guint D_FATAL_WARNINGS = 2;
|
||||
GDebugKey keys[] = {
|
||||
|
|
@ -95,7 +96,6 @@ _init_nm_debug (NMConfig *config)
|
|||
};
|
||||
guint flags;
|
||||
const char *env = getenv ("NM_DEBUG");
|
||||
gs_free char *debug;
|
||||
|
||||
debug = nm_config_data_get_value (nm_config_get_data_orig (config),
|
||||
NM_CONFIG_KEYFILE_GROUP_MAIN,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue