mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 12:20:36 +01:00
cli: fix build error due to possibly uninitialized variable
This commit is contained in:
parent
1df9948199
commit
15ddc6dce3
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue