[gcompris/gcomprixogoo] Removed a comoilation warning in scale.c



commit 865a96e30273dd2f1023633d6ea4586ab46aa67b
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Mon Feb 15 00:24:53 2010 +0100

    Removed a comoilation warning in scale.c

 src/scalesboard-activity/scale.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/scalesboard-activity/scale.c b/src/scalesboard-activity/scale.c
index 05a15db..66d242a 100644
--- a/src/scalesboard-activity/scale.c
+++ b/src/scalesboard-activity/scale.c
@@ -848,7 +848,7 @@ static void scale_prepare_level_weight()
     struct weight_set *set4[] = { &weight1, &weight2, &weight4 };
     struct weight_set *set5[] = { &weight1, &weight4 };
     struct weight_set *set = &weight1;
-    const int *list_weight;
+    const int *list_weight = NULL;
     int i, tmp[6] = { 0 };
 
     group_m = goo_canvas_group_new(boardRootItem, NULL);



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