From 3fb386a2f927a93f373dca68d8be9099cc74537e Mon Sep 17 00:00:00 2001 From: D G Turner Date: Thu, 19 Dec 2019 14:19:14 +0000 Subject: 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. --- engines/fullpipe/sound.cpp | 3 --- engines/fullpipe/sound.h | 3 --- 2 files changed, 6 deletions(-) (limited to 'engines') 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; -- cgit v1.2.3