mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 14:51:40 +00:00
TSAGE: Work around some uninitialized use warnings
They were false positives, but easy to work around.
This commit is contained in:
parent
6a9ab747f9
commit
5518721a17
@ -4350,7 +4350,7 @@ void Scene360::Action1::signal() {
|
||||
void Scene360::synchronize(Serializer &s) {
|
||||
SceneExt::synchronize(s);
|
||||
if (s.getVersion() < 9) {
|
||||
int tmpVar;
|
||||
int tmpVar = 0;
|
||||
s.syncAsSint16LE(tmpVar);
|
||||
}
|
||||
}
|
||||
|
@ -3710,7 +3710,7 @@ int WalkRegions::indexOf(const Common::Point &pt, const Common::List<int> *index
|
||||
|
||||
void WalkRegions::synchronize(Serializer &s) {
|
||||
// Synchronise the list of disabled regions as a list of values terminated with a '-1'
|
||||
int regionId;
|
||||
int regionId = 0;
|
||||
if (s.isLoading()) {
|
||||
_disabledRegions.clear();
|
||||
|
||||
|
@ -230,7 +230,7 @@ void BlueForceGlobals::synchronize(Serializer &s) {
|
||||
|
||||
s.syncAsSint16LE(_dayNumber);
|
||||
if (s.getVersion() < 9) {
|
||||
int tmpVar;
|
||||
int tmpVar = 0;
|
||||
s.syncAsSint16LE(tmpVar);
|
||||
}
|
||||
s.syncAsSint16LE(_tonyDialogCtr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user