mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
unsigned <-> signed, local vars were not inited
svn-id: r5065
This commit is contained in:
parent
7d6ebdc289
commit
a1f749994f
@ -4855,7 +4855,7 @@ IMuseDigital::~IMuseDigital() {
|
||||
|
||||
void IMuseDigital::handler() {
|
||||
bool new_mixer;
|
||||
int32 l, idx;
|
||||
int32 l, idx = 0;
|
||||
|
||||
for (l = 0; l < MAX_DIGITAL_CHANNELS;l ++) {
|
||||
if (_channel[l]._used) {
|
||||
@ -4939,7 +4939,7 @@ void IMuseDigital::startSound(int sound) {
|
||||
_channel[l]._numJumps = 0;
|
||||
ptr += 16;
|
||||
|
||||
uint32 tag, size;
|
||||
uint32 tag, size = 0;
|
||||
|
||||
for (;;) {
|
||||
tag = READ_BE_UINT32(ptr); ptr += 4;
|
||||
|
@ -99,7 +99,7 @@ private:
|
||||
uint8 _mixerFlags;
|
||||
bool _used;
|
||||
bool _toBeRemoved;
|
||||
uint32 _mixerTrack;
|
||||
int32 _mixerTrack;
|
||||
} _channel[MAX_DIGITAL_CHANNELS];
|
||||
|
||||
Scumm * _scumm;
|
||||
|
Loading…
x
Reference in New Issue
Block a user