diff options
| author | Edward Welbourne <edward.welbourne@theqtcompany.com> | 2015-11-03 17:14:56 +0100 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@theqtcompany.com> | 2015-11-04 12:10:12 +0000 |
| commit | 0ea6ed9fc4050b57417d2e7434aa820bb857bff9 (patch) | |
| tree | 1adeb26677deed0b896af6833cecfa319babff55 /src/concurrent/qtconcurrentthreadengine.h | |
| parent | add58edcdbd986e68cdd65a2a935b76d85d5b639 (diff) | |
Use memset to clear struct tm before filling fields.
This ensures any non-standard fields (e.g. glibc's tm_gmtoff) are
clear, as well as the other fields mktime overtly promises to ignore.
Change-Id: I45d69eff7b5cb37ab910bf3d4d2d1481fd93aedb
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/concurrent/qtconcurrentthreadengine.h')
0 files changed, 0 insertions, 0 deletions
