projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96d84ad
)
fix possible uninitialized access; thanks to the Clang Static analyzer for pointing...
author
Wilfried Goesgens
<dothebart@citadel.org>
Tue, 24 May 2011 21:51:35 +0000
(21:51 +0000)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Tue, 24 May 2011 21:51:35 +0000
(21:51 +0000)
webcit/calendar_view.c
patch
|
blob
|
history
diff --git
a/webcit/calendar_view.c
b/webcit/calendar_view.c
index 5f7de0d9e8d5d61263c432db2cdf956923c2c26f..63ba3ceb54c5aa840557d8c7735180a45317f7cb 100644
(file)
--- a/
webcit/calendar_view.c
+++ b/
webcit/calendar_view.c
@@
-854,6
+854,7
@@
void calendar_day_view_display_events(time_t thetime,
* overlap with this one take place at least partially in this day.
*/
memset(&starting_tm, 0, sizeof(struct tm));
+ memset(&event_te, 0, sizeof(struct tm));
starting_tm.tm_year = year - 1900;
starting_tm.tm_mon = month - 1;
starting_tm.tm_mday = day;