[gjs] byteArray: fix a GCC warning



commit e2606d322f05fc454c110cd4946a39c63680aa0d
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Jan 15 09:43:45 2013 -0500

    byteArray: fix a GCC warning

 gjs/byteArray.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gjs/byteArray.c b/gjs/byteArray.c
index 825c296..22e074c 100644
--- a/gjs/byteArray.c
+++ b/gjs/byteArray.c
@@ -242,7 +242,7 @@ byte_array_length_getter(JSContext *context,
                          jsval     *value_p)
 {
     ByteArrayInstance *priv;
-    gsize len;
+    gsize len = 0;
 
     priv = priv_from_js(context, obj);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]