summaryrefslogtreecommitdiff
path: root/src/apoint.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-04-11 16:44:20 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-04-12 12:02:38 +0200
commit5fc6d92866942fc46fb7d7e7147a97ad37615f7e (patch)
treea7d948acd385a0919d600721bce347dba6df204d /src/apoint.c
parentb4a2fa44359c0625aa6c5af6f2bcbed51b4df713 (diff)
downloadcalcurse-5fc6d92866942fc46fb7d7e7147a97ad37615f7e.zip
Remove some more dead assignments spotted by clang-analyzer.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/apoint.c')
-rw-r--r--src/apoint.c1
1 files changed, 0 insertions, 1 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)