diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-04-11 16:44:20 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-04-12 12:02:38 +0200 |
commit | 5fc6d92866942fc46fb7d7e7147a97ad37615f7e (patch) | |
tree | a7d948acd385a0919d600721bce347dba6df204d /src | |
parent | b4a2fa44359c0625aa6c5af6f2bcbed51b4df713 (diff) | |
download | calcurse-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.c | 1 | ||||
-rw-r--r-- | src/wins.c | 1 |
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) @@ -733,7 +733,6 @@ wins_other_status_page (int panel) { int nb_item, max_page; - nb_item = 0; switch (panel) { case CAL: |