From 907bab8a015c3d65f71e32297483e402dad62fae Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 20 Dec 2016 02:06:58 +0200 Subject: FULLPIPE: Remove unused variable --- engines/fullpipe/sound.cpp | 4 +--- engines/fullpipe/sound.h | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'engines/fullpipe') diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp index be539bc10e..1a88e47134 100644 --- a/engines/fullpipe/sound.cpp +++ b/engines/fullpipe/sound.cpp @@ -102,14 +102,12 @@ Sound::Sound() { _soundData = 0; _objectId = 0; memset(_directSoundBuffers, 0, sizeof(_directSoundBuffers)); - _description = 0; _volume = 100; _handle = new Audio::SoundHandle(); } Sound::~Sound() { freeSound(); - free(_description); delete _handle; } @@ -119,7 +117,7 @@ bool Sound::load(MfcArchive &file, NGIArchive *archive) { MemoryObject::load(file); _id = file.readUint32LE(); - _description = file.readPascalString(); + /*_description = */file.readPascalString(); assert(g_fp->_gameProjectVersion >= 6); diff --git a/engines/fullpipe/sound.h b/engines/fullpipe/sound.h index 4066c5e99e..bfc38829d6 100644 --- a/engines/fullpipe/sound.h +++ b/engines/fullpipe/sound.h @@ -31,7 +31,6 @@ namespace Fullpipe { class Sound : public MemoryObject { int _id; - char *_description; int _directSoundBuffer; int _directSoundBuffers[7]; byte *_soundData; -- cgit v1.2.3