summaryrefslogtreecommitdiffstats
path: root/src/concurrent/qtconcurrentthreadengine.h
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@theqtcompany.com>2015-11-03 17:14:56 +0100
committerEdward Welbourne <edward.welbourne@theqtcompany.com>2015-11-04 12:10:12 +0000
commit0ea6ed9fc4050b57417d2e7434aa820bb857bff9 (patch)
tree1adeb26677deed0b896af6833cecfa319babff55 /src/concurrent/qtconcurrentthreadengine.h
parentadd58edcdbd986e68cdd65a2a935b76d85d5b639 (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