Commit bc867ff6 authored by Jiří Klimeš's avatar Jiří Klimeš

core: fix uninitialized priv in set_carrier()

parent 7b9a581d
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment