diff options
-rw-r--r-- | common/savefile.cpp | 4 | ||||
-rw-r--r-- | sound/softsynth/mt32/part.cpp | 2 | ||||
-rw-r--r-- | sound/softsynth/mt32/synth.cpp | 2 |
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] = { |