From 64ed9512de0f1aa18e04af60303e9e1cca07fe6c Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 29 May 2008 08:16:57 +0200 Subject: [PATCH] [progressbar] Remove useless = NULL Signed-off-by: Julien Danjou --- widgets/progressbar.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/widgets/progressbar.c b/widgets/progressbar.c index f2c047e6f..b681ec359 100644 --- a/widgets/progressbar.c +++ b/widgets/progressbar.c @@ -79,7 +79,6 @@ progressbar_pcolor_set(xcolor_t **ppcolor, char *new_color) new_color, *ppcolor)) && flag) p_delete(ppcolor); - *ppcolor = NULL; } static void @@ -516,19 +515,11 @@ progressbar_new(alignment_t align) w->tell = progressbar_tell; d = w->data = p_new(Data, 1); - d->data_items = 0; - d->data_title = NULL; - d->fg = d->bg = d->fg_off = d->bordercolor = NULL; - d->pfg_center = d->pfg_end = NULL; - d->percent = NULL; - d->reverse = NULL; - d->height = 0.80; d->width = 80; d->ticks_gap = 1; d->border_width = 1; - d->border_padding = 0; d->gap = 2; return w;