SAGA2: Fix more uninitialized variables

This commit is contained in:
Eugene Sandulenko 2021-07-13 01:11:46 +02:00
parent ea7d098913
commit bcaba43ff0
No known key found for this signature in database
GPG Key ID: 014D387312D34F08
3 changed files with 4 additions and 0 deletions

View File

@ -709,6 +709,7 @@ gMultCompButton::gMultCompButton(gPanelList &list, const Rect16 &box, void **new
max = 0;
min = 0;
current = 0;
response = false;
return;
}

View File

@ -236,6 +236,8 @@ frameSmoother::frameSmoother(int32 fps, uint32 perSec, uint32 now)
dif5Sec = 0;
avg5Sec = 0;
secDif = 0;
secAvg = 0;
}
} // end of namespace Saga2

View File

@ -57,6 +57,7 @@ hResContext::hResContext(hResContext *sire, hResID id, const char desc[]) {
_bytepos = 0;
_handle = &_file;
_base = nullptr;
_parent = 0;
if (!_res->_valid)
return;