mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-01 22:20:12 +01: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(cherry picked from commitfbc6008260)
This commit is contained in:
parent
6f37ae7df4
commit
387377d8fc
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