diff options
author | Paweł Kołodziejski | 2003-06-22 14:30:32 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-06-22 14:30:32 +0000 |
commit | 9d09b77f2134b84bc989b2f2503297a8312d5e83 (patch) | |
tree | e73766676cf236f277a4543008603fa6871aa006 /sound | |
parent | 5132ca1b2f454545ff3b3b3bb1b108391d7256c7 (diff) | |
download | scummvm-rg350-9d09b77f2134b84bc989b2f2503297a8312d5e83.tar.gz scummvm-rg350-9d09b77f2134b84bc989b2f2503297a8312d5e83.tar.bz2 scummvm-rg350-9d09b77f2134b84bc989b2f2503297a8312d5e83.zip |
fixed warnings
svn-id: r8613
Diffstat (limited to 'sound')
-rw-r--r-- | sound/mixer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp index d11f5b551e..826fb12c77 100644 --- a/sound/mixer.cpp +++ b/sound/mixer.cpp @@ -160,8 +160,9 @@ SoundMixer::SoundMixer() { _premixParam = 0; _premixProc = 0; + int i = 0; - for (int i = 0; i != NUM_CHANNELS; i++) + for (i = 0; i != NUM_CHANNELS; i++) _handles[i] = NULL; _outputRate = 0; @@ -171,7 +172,7 @@ SoundMixer::SoundMixer() { _paused = false; - for (int i = 0; i != NUM_CHANNELS; i++) + for (i = 0; i != NUM_CHANNELS; i++) _channels[i] = NULL; } |