From 5fc6d92866942fc46fb7d7e7147a97ad37615f7e Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 11 Apr 2011 16:44:20 +0200 Subject: Remove some more dead assignments spotted by clang-analyzer. Signed-off-by: Lukas Fleischer --- src/apoint.c | 1 - src/wins.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/apoint.c b/src/apoint.c index f612071..b349e84 100644 --- a/src/apoint.c +++ b/src/apoint.c @@ -338,7 +338,6 @@ apoint_cut (unsigned *nb_events, unsigned *nb_apoints) if (NBITEMS == 0) return 0; - to_be_removed = 0; date = calendar_get_slctd_day_sec (); item_type = day_cut_item (date, hilt); if (item_type == EVNT || item_type == RECUR_EVNT) diff --git a/src/wins.c b/src/wins.c index a9e93e0..19b5b9c 100644 --- a/src/wins.c +++ b/src/wins.c @@ -733,7 +733,6 @@ wins_other_status_page (int panel) { int nb_item, max_page; - nb_item = 0; switch (panel) { case CAL: -- cgit v1.2.3