Fix Coverity Warning - Uninitialized
Closes CID 1380147 Message was date_result.month was not initialized. Added initialization.
This commit is contained in:
parent
d50a7b8955
commit
61ad1d42c4
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
irdya_date irdya_date::read_date(const std::string& date)
|
||||
{
|
||||
irdya_date date_result;
|
||||
irdya_date date_result();
|
||||
|
||||
// Currently only supports a year and an epoch.
|
||||
size_t year_start = date.find_first_not_of(' ');
|
||||
|
|
Loading…
Add table
Reference in a new issue