device: don't initalize fields in nm_device_init() to NULL

They are already guaranteed to be 0/NULL.
This commit is contained in:
Thomas Haller
2016-08-16 11:36:25 +02:00
parent 14a7b2a4fe
commit d9509a2db1

View File

@@ -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*