mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Address cppcheck uninitialized warning
Reviewed-At: https://gitea.wildfiregames.com/0ad/0ad/pulls/8222
This commit is contained in:
parent
cb58116270
commit
f0c8db6422
1 changed files with 2 additions and 2 deletions
|
|
@ -151,8 +151,8 @@ JS::HandleObject VisualReplay::ReloadReplayCache(const ScriptInterface& scriptIn
|
|||
|
||||
JS::RootedValue file(rq.cx);
|
||||
OsPath fileName;
|
||||
double fileSize;
|
||||
double fileMtime;
|
||||
double fileSize{0};
|
||||
double fileMtime{0};
|
||||
Script::GetProperty(rq, replay, "directory", fileName);
|
||||
Script::GetProperty(rq, replay, "fileSize", fileSize);
|
||||
Script::GetProperty(rq, replay, "fileMTime", fileMtime);
|
||||
|
|
|
|||
Loading…
Reference in a new issue