mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-02 09:38:14 +02:00
core: fix uninialized boolean variable in reset_autoconnect_all()
It's not critical, because at worst we get a false-positive that
something changed.
Found by coverity.
Fixes: 4e7b05de79
This commit is contained in:
parent
f4419783b7
commit
fbc6008260
1 changed files with 1 additions and 1 deletions
|
|
@ -1409,7 +1409,7 @@ reset_autoconnect_all (NMPolicy *self,
|
|||
NMPolicyPrivate *priv = NM_POLICY_GET_PRIVATE (self);
|
||||
NMSettingsConnection *const*connections = NULL;
|
||||
guint i;
|
||||
gboolean changed;
|
||||
gboolean changed = FALSE;
|
||||
|
||||
_LOGD (LOGD_DEVICE, "re-enabling autoconnect for all connections%s%s%s",
|
||||
device ? " on " : "",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue