summaryrefslogtreecommitdiff
path: root/libupower-glib/up-device.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-10-10 15:56:49 +0200
committerBastien Nocera <hadess@hadess.net>2013-10-14 10:42:55 +0200
commitc590354d0ace5610fbdaef918870f8d3c2e5adc6 (patch)
tree9686d27e76141f8f6bfcac1c3be95e9a291867d7 /libupower-glib/up-device.c
parent65c84120f903b50a2894b3b823932aba8dae8444 (diff)
downloadupower-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.c3
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;
}
/*