merge: branch 'ih/autocon_ports_uninit'

policy: fix unitialized variable

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2143
This commit is contained in:
Íñigo Huguet
2025-02-20 06:42:20 +00:00

View File

@@ -1941,7 +1941,7 @@ unblock_autoconnect_for_ports(NMPolicy *self,
{ {
NMPolicyPrivate *priv = NM_POLICY_GET_PRIVATE(self); NMPolicyPrivate *priv = NM_POLICY_GET_PRIVATE(self);
NMSettingsConnection *const *connections; NMSettingsConnection *const *connections;
gboolean changed; gboolean changed = FALSE;
guint i; guint i;
_LOGT(LOGD_CORE, _LOGT(LOGD_CORE,