diff options
-rw-r--r-- | libupower-glib/up-device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libupower-glib/up-device.c b/libupower-glib/up-device.c index 9f6e0e1..f053f3d 100644 --- a/libupower-glib/up-device.c +++ b/libupower-glib/up-device.c @@ -422,7 +422,7 @@ GPtrArray * up_device_get_history_sync (UpDevice *device, const gchar *type, guint timespec, guint resolution, GCancellable *cancellable, GError **error) { GError *error_local = NULL; - GVariant *gva; + GVariant *gva = NULL; guint i; GPtrArray *array = NULL; gboolean ret; @@ -502,7 +502,7 @@ GPtrArray * up_device_get_statistics_sync (UpDevice *device, const gchar *type, GCancellable *cancellable, GError **error) { GError *error_local = NULL; - GVariant *gva; + GVariant *gva = NULL; guint i; GPtrArray *array = NULL; gboolean ret; |