From 1cfa6c087a88eb795dc0ae46cbeb5a578318a317 Mon Sep 17 00:00:00 2001 From: athrxx Date: Wed, 20 Mar 2019 21:48:26 +0100 Subject: AUDIO: (FM-TOWNS/PC-98) - silence some compiler warnings --- audio/softsynth/fmtowns_pc98/pc98_audio.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'audio/softsynth/fmtowns_pc98/pc98_audio.cpp') diff --git a/audio/softsynth/fmtowns_pc98/pc98_audio.cpp b/audio/softsynth/fmtowns_pc98/pc98_audio.cpp index d6c6fc94e3..3ad100911a 100644 --- a/audio/softsynth/fmtowns_pc98/pc98_audio.cpp +++ b/audio/softsynth/fmtowns_pc98/pc98_audio.cpp @@ -61,8 +61,6 @@ private: const uint16 _port1, _port2, _port3, _port4; uint8 _address[2]; - uint16 _frequency; - PC98AudioPluginDriver *_drv; void *_drvOwner; bool _ready; @@ -77,8 +75,8 @@ PC98AudioCoreInternal::PC98AudioCoreInternal(Audio::Mixer *mixer, PC98AudioCore _musicVolume(Audio::Mixer::kMaxMixerVolume), _sfxVolume(Audio::Mixer::kMaxMixerVolume), _port1(type == PC98AudioPluginDriver::kTypeTowns ? 0x4D8 : 0x188), _port2(type == PC98AudioPluginDriver::kTypeTowns ? 0x4DA : 0x18A), _port3(type == PC98AudioPluginDriver::kTypeTowns ? 0x4DC : 0x18C), _port4(type == PC98AudioPluginDriver::kTypeTowns ? 0x4DE : 0x18E), - _frequency(0), _ready(false) { - _address[0] = _address[1] = 0xFF; + _ready(false) { + _address[0] = _address[1] = 0xFF; } PC98AudioCoreInternal::~PC98AudioCoreInternal() { @@ -287,4 +285,4 @@ PC98AudioCore::MutexLock::MutexLock(PC98AudioCoreInternal *pc98int) : _pc98int(p PC98AudioCore::MutexLock::~MutexLock() { if (_pc98int) _pc98int->mutex().unlock(); -} \ No newline at end of file +} -- cgit v1.2.3