mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 11:20:40 +00:00
MT32: Fix Set-But-Unused Compiler Warning.
This commit is contained in:
parent
72790f90c2
commit
77818e9683
@ -24,11 +24,11 @@
|
||||
|
||||
namespace MT32Emu {
|
||||
|
||||
AbstractFile::AbstractFile() : sha1DigestCalculated(false), reserved(NULL) {
|
||||
AbstractFile::AbstractFile() : sha1DigestCalculated(false) {
|
||||
sha1Digest[0] = 0;
|
||||
}
|
||||
|
||||
AbstractFile::AbstractFile(const SHA1Digest &useSHA1Digest) : sha1DigestCalculated(true), reserved(NULL) {
|
||||
AbstractFile::AbstractFile(const SHA1Digest &useSHA1Digest) : sha1DigestCalculated(true) {
|
||||
memcpy(sha1Digest, useSHA1Digest, sizeof(SHA1Digest) - 1);
|
||||
sha1Digest[sizeof(SHA1Digest) - 1] = 0; // Ensure terminator char.
|
||||
}
|
||||
|
@ -49,9 +49,6 @@ protected:
|
||||
private:
|
||||
bool sha1DigestCalculated;
|
||||
SHA1Digest sha1Digest;
|
||||
|
||||
// Binary compatibility helper.
|
||||
void *reserved;
|
||||
};
|
||||
|
||||
class MT32EMU_EXPORT ArrayFile : public AbstractFile {
|
||||
|
Loading…
Reference in New Issue
Block a user