[glib/glib-2-26] Initialise lengths in GDbusAuth to silence warnings (cherry picked from commit ad363d9aac5a616712163
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-26] Initialise lengths in GDbusAuth to silence warnings (cherry picked from commit ad363d9aac5a616712163
- Date: Fri, 12 Nov 2010 14:08:11 +0000 (UTC)
commit 509a53848d841c548a92ec9d765a536899e33d44
Author: Christian Dywan <christian twotoasts de>
Date: Fri Oct 8 16:33:04 2010 +0200
Initialise lengths in GDbusAuth to silence warnings
(cherry picked from commit ad363d9aac5a6167121631a1ee8d3cec2784b5c2)
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]