unsigned <-> signed, local vars were not inited

svn-id: r5065
This commit is contained in:
Max Horn 2002-10-01 22:39:15 +00:00
parent 7d6ebdc289
commit a1f749994f
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -99,7 +99,7 @@ private:
uint8 _mixerFlags;
bool _used;
bool _toBeRemoved;
uint32 _mixerTrack;
int32 _mixerTrack;
} _channel[MAX_DIGITAL_CHANNELS];
Scumm * _scumm;