policy: fix unitialized variable
The variable 'change' may be used uninitialized.
Fixes: 7acc66699a
('policy: always reset retries when unblocking children or ports')
This commit is contained in:

committed by
Íñigo Huguet

parent
42b95fad79
commit
af6aca3527
@@ -1941,7 +1941,7 @@ unblock_autoconnect_for_ports(NMPolicy *self,
|
||||
{
|
||||
NMPolicyPrivate *priv = NM_POLICY_GET_PRIVATE(self);
|
||||
NMSettingsConnection *const *connections;
|
||||
gboolean changed;
|
||||
gboolean changed = FALSE;
|
||||
guint i;
|
||||
|
||||
_LOGT(LOGD_CORE,
|
||||
|
Reference in New Issue
Block a user