mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-25 05:34:27 +00:00
SAGA2: Fix more uninitialized variables
This commit is contained in:
parent
ea7d098913
commit
bcaba43ff0
@ -709,6 +709,7 @@ gMultCompButton::gMultCompButton(gPanelList &list, const Rect16 &box, void **new
|
||||
max = 0;
|
||||
min = 0;
|
||||
current = 0;
|
||||
response = false;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -236,6 +236,8 @@ frameSmoother::frameSmoother(int32 fps, uint32 perSec, uint32 now)
|
||||
|
||||
dif5Sec = 0;
|
||||
avg5Sec = 0;
|
||||
secDif = 0;
|
||||
secAvg = 0;
|
||||
}
|
||||
|
||||
} // end of namespace Saga2
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user