Silence warning by doing something with the return value.

This commit is contained in:
Steve Checkoway
2008-12-26 11:36:21 +00:00
parent 8f46ca3b0c
commit dc144f9ad0
@@ -38,7 +38,9 @@ void RageSoundDriver_OSS::MixerThread()
{ {
/* We want to set a higher priority, but Unix only lets root renice /* We want to set a higher priority, but Unix only lets root renice
* < 0, which is silly. Give it a try, anyway. */ * < 0, which is silly. Give it a try, anyway. */
nice( -10 ); int status = nice( -10 );
if( status != -1 )
LOG->Trace( "Set MixerThread nice value to %d", status );
while( !shutdown ) while( !shutdown )
{ {
@@ -58,7 +60,9 @@ void RageSoundDriver_OSS::MixerThread()
void RageSoundDriver_OSS::SetupDecodingThread() void RageSoundDriver_OSS::SetupDecodingThread()
{ {
nice( -5 ); int status = nice( -5 );
if( status != -1 )
LOG->Trace( "Set DecodingThread nice value to %d", status );
} }
bool RageSoundDriver_OSS::GetData() bool RageSoundDriver_OSS::GetData()