diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-04-03 21:54:58 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-04-03 22:09:00 +0200 |
commit | 5b12c236cf68a182fb8075c7ec0797c4c64fd60c (patch) | |
tree | 26d6b771bf4e764b9beb3ac056acad89f28200b0 /src/calendar.c | |
parent | 1473145d10a0ba529526897c08eab2fb176dac01 (diff) | |
download | calcurse-5b12c236cf68a182fb8075c7ec0797c4c64fd60c.zip |
Remove dead assignments spotted by clang-analyzer.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calendar.c')
-rw-r--r-- | src/calendar.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/calendar.c b/src/calendar.c index e480b00..45b99c3 100644 --- a/src/calendar.c +++ b/src/calendar.c @@ -675,7 +675,6 @@ calendar_move (enum move move) t.tm_mon = slctd_day.mm - 1; t.tm_year = slctd_day.yyyy - 1900; - ret = 1; switch (move) { case UP: @@ -886,9 +885,7 @@ pom (time_t tmpt) struct tm *GMT; double days; int cnt; - enum pom pom; - pom = NO_POM; GMT = gmtime (&tmpt); days = (GMT->tm_yday + 1) + ((GMT->tm_hour + (GMT->tm_min / 60.0) + (GMT->tm_sec / 3600.0)) / 24.0); |