mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-21 00:40:46 +02:00
libnm: fix uninitialized variable in nm_connection_replace_settings_from_connection()
Found by Coverity.
Fixes: 91aacbef41 ('libnm: refactor tracking of NMSetting in NMConnection')
This commit is contained in:
parent
bb9c72a543
commit
951ba8f9fd
1 changed files with 1 additions and 1 deletions
|
|
@ -649,7 +649,7 @@ nm_connection_replace_settings_from_connection(NMConnection *connection,
|
|||
{
|
||||
NMConnectionPrivate *priv;
|
||||
NMConnectionPrivate *new_priv;
|
||||
gboolean changed;
|
||||
gboolean changed = FALSE;
|
||||
int i;
|
||||
|
||||
g_return_if_fail(NM_IS_CONNECTION(connection));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue