device: don't initalize fields in nm_device_init() to NULL
They are already guaranteed to be 0/NULL.
This commit is contained in:
@@ -12018,11 +12018,6 @@ nm_device_init (NMDevice *self)
|
|||||||
|
|
||||||
priv->v4_commit_first_time = TRUE;
|
priv->v4_commit_first_time = TRUE;
|
||||||
priv->v6_commit_first_time = TRUE;
|
priv->v6_commit_first_time = TRUE;
|
||||||
|
|
||||||
priv->refresh_rate_ms = 0;
|
|
||||||
priv->tx_bytes = 0;
|
|
||||||
priv->rx_bytes = 0;
|
|
||||||
priv->statistics = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static GObject*
|
static GObject*
|
||||||
|
Reference in New Issue
Block a user