[glib] Initialise lengths in GDbusAuth to silence warnings
- From: Christian Dywan <cdywan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Initialise lengths in GDbusAuth to silence warnings
- Date: Fri, 8 Oct 2010 14:34:56 +0000 (UTC)
commit ad363d9aac5a6167121631a1ee8d3cec2784b5c2
Author: Christian Dywan <christian twotoasts de>
Date: Fri Oct 8 16:33:04 2010 +0200
Initialise lengths in GDbusAuth to silence warnings
gio/gdbusauth.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gdbusauth.c b/gio/gdbusauth.c
index ba5facf..eb8ebfd 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]