aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2019-12-19 14:19:14 +0000
committerD G Turner2019-12-19 14:19:14 +0000
commit3fb386a2f927a93f373dca68d8be9099cc74537e (patch)
treeb2cf5d1dd902c2f596db1b1d9187058709d0ca8b
parentea27ffd8a34e6bacd29f7069e9b0d028eea5ca99 (diff)
downloadscummvm-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.
-rw-r--r--engines/fullpipe/sound.cpp3
-rw-r--r--engines/fullpipe/sound.h3
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;