[riot-notifications] [RIOT] sys/vtimer: initialize all values in get_localtime (#3276)
notifications at github.com
Tue Jun 30 13:26:43 CEST 2015
Stumbled upon this when debugging using valgrind on native: valgrind was complaining about some values in the `struct tm` not being proberly initialized (also coverity is complaining about this). Explicitly resetting the struct to zero should prevent errors from random values...
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* sys/vtimer: initialize all values in get_localtime
-- File Changes --
M sys/vtimer/vtimer.c (3)
-- Patch Links --
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications