QDENGINE: Initialize all class variables. PVS-Studio V730

This commit is contained in:
Eugene Sandulenko 2024-08-24 23:07:48 +02:00
parent b5c4802ea8
commit 3e8013503e
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -354,8 +354,8 @@ public:
}
private:
const float *_artTimeStamps;
float _pageDurations[3];
const float *_artTimeStamps = nullptr;
float _pageDurations[3] = { 0.0, 0.0, 0.0 };
const qdEngineInterface *_engine = nullptr;
qdMinigameSceneInterface *_scene = nullptr;
@ -367,7 +367,7 @@ private:
int _pageNum = 0;
bool _playbackOn = false;
int _currentPageArt = 1;
int _totalPageArts[3];
int _totalPageArts[3] = { 0, 0, 0 };
float _time = 0.0f;
Common::String _dll;