summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcallum_linden <none@none>2013-04-17 15:56:45 -0700
committercallum_linden <none@none>2013-04-17 15:56:45 -0700
commit6383c8829f4a34d6b3c0cf26b388b6ddf9746da1 (patch)
treea3006d2cc6df286d3ef8856b756c9c5bc42bd60d
parent1fa45e7448c82b9c242aafce0f449f925d620e89 (diff)
New fix for the fix for Linux build now that gcc upgraded to 4.6 by default
-rw-r--r--indra/llaudio/llaudioengine_fmodex.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llaudio/llaudioengine_fmodex.cpp b/indra/llaudio/llaudioengine_fmodex.cpp
index 183b2f94bc..5ec30c7d1d 100644
--- a/indra/llaudio/llaudioengine_fmodex.cpp
+++ b/indra/llaudio/llaudioengine_fmodex.cpp
@@ -478,10 +478,10 @@ bool LLAudioChannelFMODEX::updateBuffer()
// SJB: warnings can spam and hurt framerate, disabling
//FMOD_RESULT result;
- result = mChannelp->setVolume(getSecondaryGain() * mCurrentSourcep->getGain());
+ mChannelp->setVolume(getSecondaryGain() * mCurrentSourcep->getGain());
//Check_FMOD_Error(result, "FMOD::Channel::setVolume");
- result = mChannelp->setMode(mCurrentSourcep->isLoop() ? FMOD_LOOP_NORMAL : FMOD_LOOP_OFF);
+ mChannelp->setMode(mCurrentSourcep->isLoop() ? FMOD_LOOP_NORMAL : FMOD_LOOP_OFF);
/*if(Check_FMOD_Error(result, "FMOD::Channel::setMode"))
{
S32 index;