diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-10-10 15:56:49 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-10-14 10:42:55 +0200 |
commit | c590354d0ace5610fbdaef918870f8d3c2e5adc6 (patch) | |
tree | 9686d27e76141f8f6bfcac1c3be95e9a291867d7 /libupower-glib/up-device.c | |
parent | 65c84120f903b50a2894b3b823932aba8dae8444 (diff) | |
download | upower-c590354d0ace5610fbdaef918870f8d3c2e5adc6.tar.gz |
lib: No need to set private members to NULL
GObject already makes sure of that for us.
Diffstat (limited to 'libupower-glib/up-device.c')
-rw-r--r-- | libupower-glib/up-device.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libupower-glib/up-device.c b/libupower-glib/up-device.c index 1c346da..022d9ed 100644 --- a/libupower-glib/up-device.c +++ b/libupower-glib/up-device.c @@ -1294,9 +1294,6 @@ static void up_device_init (UpDevice *device) { device->priv = UP_DEVICE_GET_PRIVATE (device); - device->priv->object_path = NULL; - device->priv->proxy_device = NULL; - device->priv->proxy_props = NULL; } /* |