coverity#738695 Uninitialized scalar field
Change-Id: I5a96a726d956f0eac0a7e5441e6fcbb2fd0ae204
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user