From 9d05a11ef009bc1529c6e9a0b3c0e4291f505c87 Mon Sep 17 00:00:00 2001 From: Siana Gearz Date: Thu, 18 Aug 2011 21:17:32 +0200 Subject: [PATCH] Trivial build fixes for Linux --- indra/newview/llmediactrl.cpp | 5 +++++ indra/newview/llviewerparcelmedia.cpp | 5 +++++ indra/newview/llviewertexture.cpp | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/indra/newview/llmediactrl.cpp b/indra/newview/llmediactrl.cpp index f90037f31..ded15470e 100644 --- a/indra/newview/llmediactrl.cpp +++ b/indra/newview/llmediactrl.cpp @@ -966,6 +966,11 @@ void LLMediaCtrl::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event) LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAME_CHANGED" << LL_ENDL; }; break; + + default: + { + LL_WARNS("Media") << "Media event: unknown event type" << LL_ENDL; + }; }; // chain all events to any potential observers of this object. diff --git a/indra/newview/llviewerparcelmedia.cpp b/indra/newview/llviewerparcelmedia.cpp index be304fc9f..7ebaf5706 100644 --- a/indra/newview/llviewerparcelmedia.cpp +++ b/indra/newview/llviewerparcelmedia.cpp @@ -560,6 +560,11 @@ void LLViewerParcelMedia::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAME_CHANGED" << LL_ENDL; }; break; + + default: + { + LL_WARNS("Media") << "Media event: unknown event type" << LL_ENDL; + }; }; } diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index 717673c43..6babdb116 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -4062,7 +4062,7 @@ void LLTexturePipelineTester::LLTextureTestSession::reset() mInstantPerformanceListCounter = 0 ; } -#endif 0 +#endif //0 //---------------------------------------------------------------------------------------------- //end of LLTexturePipelineTester //----------------------------------------------------------------------------------------------