mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 00:30:09 +01:00
device: don't initalize fields in nm_device_init() to NULL
They are already guaranteed to be 0/NULL.
This commit is contained in:
parent
14a7b2a4fe
commit
d9509a2db1
1 changed files with 0 additions and 5 deletions
|
|
@ -12018,11 +12018,6 @@ nm_device_init (NMDevice *self)
|
|||
|
||||
priv->v4_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*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue