cli: fix build error due to possibly uninitialized variable
This commit is contained in:
@@ -179,7 +179,7 @@ nm_connectivity_to_string (NMConnectivityState connectivity)
|
||||
static gboolean
|
||||
show_nm_status (NmCli *nmc, const char *pretty_header_name, const char *print_flds)
|
||||
{
|
||||
gboolean nm_running, startup;
|
||||
gboolean nm_running, startup = FALSE;
|
||||
NMState state = NM_STATE_UNKNOWN;
|
||||
NMConnectivityState connectivity = NM_CONNECTIVITY_UNKNOWN;
|
||||
const char *net_enabled_str;
|
||||
|
Reference in New Issue
Block a user