remove unsafe return value

This commit is contained in:
Glenn Maynard
2007-01-18 08:32:37 +00:00
parent 0e2fd55a8a
commit 4eb20f1e79
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -407,7 +407,7 @@ void RageSound::SoundIsFinishedPlaying()
m_Mutex.Unlock();
}
RageSound *RageSound::Play( const RageSoundParams *pParams )
void RageSound::Play( const RageSoundParams *pParams )
{
if( m_pSource == NULL )
{
@@ -415,7 +415,7 @@ RageSound *RageSound::Play( const RageSoundParams *pParams )
return NULL;
}
return SOUNDMAN->PlaySound( *this, pParams );
SOUNDMAN->PlaySound( *this, pParams );
}
void RageSound::Stop()
+1 -1
View File
@@ -123,7 +123,7 @@ public:
RString GetError() const { return m_sError; }
RageSound *Play( const RageSoundParams *params=NULL );
void Play( const RageSoundParams *params=NULL );
void Stop();
/* Cleanly pause or unpause the sound. If the sound wasn't already playing,