summaryrefslogtreecommitdiff
path: root/src/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound.cpp')
-rw-r--r--src/sound.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sound.cpp b/src/sound.cpp
index 9fed4a689..c5daccae4 100644
--- a/src/sound.cpp
+++ b/src/sound.cpp
@@ -197,9 +197,7 @@ static const byte _sound_idx[] = {
void SndCopyToPool()
{
- uint i;
-
- for (i = 0; i < _file_count; i++) {
+ for (uint i = 0; i < _file_count; i++) {
FileEntry *orig = &_files[_sound_idx[i]];
FileEntry *fe = AllocateFileEntry();