mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 13:28:02 +02:00
policy: fix unitialized variable
The variable 'change' may be used uninitialized. Fixes:7acc66699a('policy: always reset retries when unblocking children or ports') (cherry picked from commitaf6aca3527)
This commit is contained in:
parent
bc6248a3eb
commit
949c7b84a3
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue