diff options
author | D G Turner | 2019-12-19 14:19:14 +0000 |
---|---|---|
committer | D G Turner | 2019-12-19 14:19:14 +0000 |
commit | 3fb386a2f927a93f373dca68d8be9099cc74537e (patch) | |
tree | b2cf5d1dd902c2f596db1b1d9187058709d0ca8b /engines/fullpipe | |
parent | ea27ffd8a34e6bacd29f7069e9b0d028eea5ca99 (diff) | |
download | scummvm-rg350-3fb386a2f927a93f373dca68d8be9099cc74537e.tar.gz scummvm-rg350-3fb386a2f927a93f373dca68d8be9099cc74537e.tar.bz2 scummvm-rg350-3fb386a2f927a93f373dca68d8be9099cc74537e.zip |
FULLPIPE: Remove Unused Private Members from Sound Class
These cause warnings from Clang when -Wunused-private-field is set.
Was initially unsure if this class was saved as it was a subclass of
MemoryObject, but changing this appears to be safe as the save method
is not implemented in any case.
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/sound.cpp | 3 | ||||
-rw-r--r-- | engines/fullpipe/sound.h | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp index 49ebc47057..ec6ce82957 100644 --- a/engines/fullpipe/sound.cpp +++ b/engines/fullpipe/sound.cpp @@ -78,11 +78,8 @@ Sound *SoundList::getSoundItemById(int id) { Sound::Sound() : _id(0), - _directSoundBuffer(0), - _directSoundBuffers(), _soundData(nullptr), _handle(new Audio::SoundHandle()), - _volume(100), _objectId(0) {} Sound::~Sound() { diff --git a/engines/fullpipe/sound.h b/engines/fullpipe/sound.h index 60584160e5..e0fa873992 100644 --- a/engines/fullpipe/sound.h +++ b/engines/fullpipe/sound.h @@ -34,11 +34,8 @@ namespace Fullpipe { class Sound : public MemoryObject { int _id; - int _directSoundBuffer; - int _directSoundBuffers[7]; byte *_soundData; Audio::SoundHandle *_handle; - int _volume; public: int16 _objectId; |