From 1fa45e7448c82b9c242aafce0f449f925d620e89 Mon Sep 17 00:00:00 2001
From: callum_linden <none@none>
Date: Wed, 17 Apr 2013 15:46:40 -0700
Subject: [PATCH] Fix for Linux build now that gcc upgraded to 4.6 by default

---
 indra/llaudio/llaudioengine_fmodex.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/llaudio/llaudioengine_fmodex.cpp b/indra/llaudio/llaudioengine_fmodex.cpp
index 40a43884a1a..183b2f94bc5 100644
--- a/indra/llaudio/llaudioengine_fmodex.cpp
+++ b/indra/llaudio/llaudioengine_fmodex.cpp
@@ -476,7 +476,7 @@ bool LLAudioChannelFMODEX::updateBuffer()
 	if (mCurrentSourcep)
 	{
 		// SJB: warnings can spam and hurt framerate, disabling
-		FMOD_RESULT result;
+		//FMOD_RESULT result;
 
 		result = mChannelp->setVolume(getSecondaryGain() * mCurrentSourcep->getGain());
 		//Check_FMOD_Error(result, "FMOD::Channel::setVolume");
-- 
GitLab