From ad363d9aac5a6167121631a1ee8d3cec2784b5c2 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 8 Oct 2010 16:33:04 +0200 Subject: [PATCH] Initialise lengths in GDbusAuth to silence warnings --- gio/gdbusauth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gio/gdbusauth.c b/gio/gdbusauth.c index ba5facfbe..eb8ebfd3b 100644 --- a/gio/gdbusauth.c +++ b/gio/gdbusauth.c @@ -805,7 +805,7 @@ _g_dbus_auth_run_client (GDBusAuth *auth, { gchar *encoded; gchar *decoded_data; - gsize decoded_data_len; + gsize decoded_data_len = 0; encoded = g_strdup (line + 5); g_free (line); @@ -1230,7 +1230,7 @@ _g_dbus_auth_run_server (GDBusAuth *auth, { gchar *encoded; gchar *decoded_data; - gsize decoded_data_len; + gsize decoded_data_len = 0; encoded = g_strdup (line + 5); g_free (line);