diff -Nrup planner/src/planner-gantt-row.c planner-new/src/planner-gantt-row.c
--- planner/src/planner-gantt-row.c	2006-07-08 18:20:36.000000000 +0200
+++ planner-new/src/planner-gantt-row.c	2006-10-24 14:38:26.000000000 +0200
@@ -1175,7 +1175,8 @@ gantt_row_draw (GnomeCanvasItem *item,
 	gint                 rx2, ry2;
 	gint                 cx1, cy1, cx2, cy2; 
 
-	GList               *unit_ivals, *cal_ivals, *cur_unit, *cur_cal;
+	GList               *unit_ivals, *cal_ivals, *cur_unit;*
+	GList		    *cur_cal = NULL;
 	GdkColor             color;
 	gint                 x_start, x_end, y_dumb, is_a_gap, is_a_subgap;
 	MrpUnitsInterval    *unit_ival, ival_buf;
