#9002 closed patch (wontfix)
GSOC09: Unused variable warnings
| Reported by: | SF/landhar | Owned by: | fingolfin |
|---|---|---|---|
| Priority: | normal | Component: | --Other-- |
| Version: | Keywords: | ||
| Cc: | Game: |
Description
I slightly modified the code in the following files to avoid having an 'unused variable' warning when building the project with g++: - engines/scumm/sound.cpp - engines/sword2/music.cpp
Ticket imported from: #2756844. Ticket imported from: patches/1107.
Attachments (2)
Change History (6)
by , 17 years ago
| Attachment: | sound.patch added |
|---|
comment:2 by , 17 years ago
The original code produces no warning for me, but after applying the patch I get these warnings: engines/sword2/music.cpp:203: error: redeclaration of ‘Sword2::SafeSubReadStream* tmp’ engines/sword2/music.cpp:198: error: ‘Sword2::SafeSubReadStream* tmp’ previously declared here engines/sword2/music.cpp:208: error: redeclaration of ‘Sword2::SafeSubReadStream* tmp’ engines/sword2/music.cpp:198: error: ‘Sword2::SafeSubReadStream* tmp’ previously declared here
comment:3 by , 17 years ago
| Owner: | set to |
|---|---|
| Resolution: | → wontfix |
| Status: | new → closed |
comment:4 by , 7 years ago
| Component: | → --Other-- |
|---|

patch for engines/scumm/sound.cpp