diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-11 13:45:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-11 14:11:22 +0100 |
commit | 46575addc41f13d92f1320a819e8c7ef766974d4 (patch) | |
tree | 2e56e3c337a8f44b8a14976c8150ef4b54734f7a /lotuswordpro | |
parent | 2e87d4241f36b66a1628b0f8c7bb610c63b8c450 (diff) |
coverity#738695 Uninitialized scalar field
Change-Id: I5a96a726d956f0eac0a7e5441e6fcbb2fd0ae204
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/localtime.hxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lotuswordpro/source/filter/localtime.hxx b/lotuswordpro/source/filter/localtime.hxx index 85b000c75059..e3920296d929 100644 --- a/lotuswordpro/source/filter/localtime.hxx +++ b/lotuswordpro/source/filter/localtime.hxx @@ -67,6 +67,18 @@ struct LtTm long tm_wday; /* days since Sunday - [0,6] */ long tm_yday; /* days since January 1 - [0,365] */ long tm_isdst; /* daylight savings time flag */ + LtTm() + : tm_sec(0) + , tm_min(0) + , tm_hour(0) + , tm_mday(0) + , tm_mon(0) + , tm_year(0) + , tm_wday(0) + , tm_yday(0) + , tm_isdst(0) + { + } }; bool LtgGmTime(long rtime,LtTm& rtm); bool LtgLocalTime(long rtime,LtTm& rtm); |