Commit 8aead609 authored by Thomas Haller's avatar Thomas Haller
Browse files

main: fix compiler warning about uninitialized auto variable in _init_nm_debug()

Fixes: c7d2e1f3
parent 0af0f167
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment