vc compile warn

svn-id: r17637
This commit is contained in:
Andrew Kurushin 2005-04-16 17:05:14 +00:00
parent 8ef991fe4a
commit b31ee93c75
3 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -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);
}

View File

@ -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] = {