mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 07:50:17 +01:00
core: fix uninitialized priv in set_carrier()
This commit is contained in:
parent
7b9a581d9c
commit
bc867ff6fe
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ set_carrier (NMDeviceWired *self,
|
|||
gboolean carrier)
|
||||
{
|
||||
NMDevice *device = NM_DEVICE (self);
|
||||
NMDeviceWiredPrivate *priv;
|
||||
NMDeviceWiredPrivate *priv = NM_DEVICE_WIRED_GET_PRIVATE (self);
|
||||
guint32 caps;
|
||||
|
||||
if (priv->carrier == carrier)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue