Skip to content
Snippets Groups Projects
Commit 21c1a56e authored by Stepan Salenikovich's avatar Stepan Salenikovich
Browse files

history: fix missing initializer warning

Issue: #76563
Change-Id: Ifc5567a78dfc1ce3fee518d03fbd3e0e36c3eac1
parent 90ba4a79
No related branches found
No related tags found
No related merge requests found
......@@ -138,8 +138,8 @@ HistoryTimeCategoryModel::HistoryConst HistoryTimeCategoryModel::timeToHistoryCo
* tm_year int years since 1900
* tm_wday int days since Sunday 0-6
*/
struct tm localCurrentTime = {};
struct tm localPastTime = {};
struct tm localCurrentTime;
struct tm localPastTime;
::localtime_r(&currentTime, &localCurrentTime);
::localtime_r(&time, &localPastTime);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment