Initialise lengths in GvdbReader to silence warnings
authorChristian Dywan <christian@twotoasts.de>
Fri, 8 Oct 2010 14:33:33 +0000 (16:33 +0200)
committerChristian Dywan <christian@twotoasts.de>
Fri, 8 Oct 2010 14:34:51 +0000 (16:34 +0200)
gio/gvdb/gvdb-reader.c

index fb23393..d25e537 100644 (file)
@@ -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);