[glib] Initialise lengths in GvdbReader to silence warnings
- From: Christian Dywan <cdywan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Initialise lengths in GvdbReader to silence warnings
- Date: Fri, 8 Oct 2010 14:35:01 +0000 (UTC)
commit 3035bf40d0d75632b36fa703c3ac2becc98769d8
Author: Christian Dywan <christian twotoasts de>
Date: Fri Oct 8 16:33:33 2010 +0200
Initialise lengths in GvdbReader to silence warnings
gio/gvdb/gvdb-reader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gvdb/gvdb-reader.c b/gio/gvdb/gvdb-reader.c
index fb23393..d25e537 100644
--- a/gio/gvdb/gvdb-reader.c
+++ b/gio/gvdb/gvdb-reader.c
@@ -612,7 +612,7 @@ gvdb_table_walk (GvdbTable *table,
{
if (open_func (name, name_len, user_data))
{
- guint length;
+ guint length = 0;
index++;
g_assert (index < 64);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]