summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdevkit-power/dkp-wakeups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdevkit-power/dkp-wakeups.c b/libdevkit-power/dkp-wakeups.c
index 51297a9..de48ac8 100644
--- a/libdevkit-power/dkp-wakeups.c
+++ b/libdevkit-power/dkp-wakeups.c
@@ -57,7 +57,7 @@ G_DEFINE_TYPE (DkpWakeups, dkp_wakeups, G_TYPE_OBJECT)
guint
dkp_wakeups_get_total (DkpWakeups *wakeups, GError **error)
{
- guint total;
+ guint total = 0;
gboolean ret;
GError *error_local = NULL;