summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/apoint.c1
-rw-r--r--src/wins.c1
2 files changed, 0 insertions, 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: