mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-21 10:14:41 +00:00
libnm-core: avoid compiler warning in nm_connection_to_dbus_full()
Deal with compiling warning about variable not initialized before use. [thaller@redhat.com: reworded original commit message] https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/587
This commit is contained in:
parent
4cc93e1f80
commit
cb73d0b1e2
|
@ -2251,7 +2251,7 @@ nm_connection_to_dbus_full (NMConnection *connection,
|
|||
GVariantBuilder builder;
|
||||
gboolean any = FALSE;
|
||||
gs_free NMSetting **settings = NULL;
|
||||
guint settings_len;
|
||||
guint settings_len = 0;
|
||||
guint i;
|
||||
|
||||
g_return_val_if_fail (NM_IS_CONNECTION (connection), NULL);
|
||||
|
|
Loading…
Reference in a new issue