aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kurushin2005-04-16 17:05:14 +0000
committerAndrew Kurushin2005-04-16 17:05:14 +0000
commitb31ee93c75be5b715d282a36f01502e0fe293610 (patch)
tree1d9a1732f05be13c272555aeb1349a89876b5c3b
parent8ef991fe4a489d0baf196d450cef7ab6edee8530 (diff)
downloadscummvm-rg350-b31ee93c75be5b715d282a36f01502e0fe293610.tar.gz
scummvm-rg350-b31ee93c75be5b715d282a36f01502e0fe293610.tar.bz2
scummvm-rg350-b31ee93c75be5b715d282a36f01502e0fe293610.zip
vc compile warn
svn-id: r17637
-rw-r--r--common/savefile.cpp4
-rw-r--r--sound/softsynth/mt32/part.cpp2
-rw-r--r--sound/softsynth/mt32/synth.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/common/savefile.cpp b/common/savefile.cpp
index 96c6ed07d2..02234a9a78 100644
--- a/common/savefile.cpp
+++ b/common/savefile.cpp
@@ -73,8 +73,8 @@ public:
::fclose(fh);
}
- bool readingFailed() const { return ferror(fh); }
- bool writingFailed() const { return ferror(fh); }
+ bool readingFailed() const { return ferror(fh) != 0; }
+ bool writingFailed() const { return ferror(fh) != 0; }
bool isOpen() const { return fh != 0; }
uint32 read(void *buf, uint32 cnt) {
diff --git a/sound/softsynth/mt32/part.cpp b/sound/softsynth/mt32/part.cpp
index 5c4c11fa27..b3d71bccca 100644
--- a/sound/softsynth/mt32/part.cpp
+++ b/sound/softsynth/mt32/part.cpp
@@ -233,7 +233,7 @@ void Part::setPatch(const PatchParam *patch) {
patchTemp->patch = *patch;
}
-void RhythmPart::setTimbre(TimbreParam *timbre) {
+void RhythmPart::setTimbre(TimbreParam * /*timbre*/) {
synth->printDebug("%s: Attempted to call setTimbre() - doesn't make sense for rhythm", name);
}
diff --git a/sound/softsynth/mt32/synth.cpp b/sound/softsynth/mt32/synth.cpp
index 892258b7a4..66832b0e59 100644
--- a/sound/softsynth/mt32/synth.cpp
+++ b/sound/softsynth/mt32/synth.cpp
@@ -715,7 +715,7 @@ void Synth::playSysexWithoutHeader(unsigned char device, unsigned char command,
}
}
-void Synth::readSysex(unsigned char device, const Bit8u *sysex, Bit32u len) {
+void Synth::readSysex(unsigned char /*device*/, const Bit8u * /*sysex*/, Bit32u /*len*/) {
}
const MemoryRegion memoryRegions[8] = {