cleanup
This commit is contained in:
@@ -117,8 +117,6 @@ RageSound &RageSound::operator=( const RageSound &cpy )
|
|||||||
delete Sample;
|
delete Sample;
|
||||||
Sample = cpy.Sample->Copy();
|
Sample = cpy.Sample->Copy();
|
||||||
|
|
||||||
/* Load() won't work on a copy if m_sFilePath is already set, so
|
|
||||||
* copy this down here. */
|
|
||||||
m_sFilePath = cpy.m_sFilePath;
|
m_sFilePath = cpy.m_sFilePath;
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
|
|||||||
@@ -318,10 +318,6 @@ static struct SetupUnknownThread
|
|||||||
|
|
||||||
const char *RageThread::GetCurThreadName()
|
const char *RageThread::GetCurThreadName()
|
||||||
{
|
{
|
||||||
int slot = GetCurThreadSlot();
|
|
||||||
if(slot==-1)
|
|
||||||
return "???";
|
|
||||||
|
|
||||||
return GetThreadNameByID( GetCurrentThreadID() );
|
return GetThreadNameByID( GetCurrentThreadID() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user