From 03337b9142305a8d0b8744505c498ae19dd4c9a2 Mon Sep 17 00:00:00 2001 From: Callum Prentice Date: Mon, 25 Feb 2008 20:18:33 +0000 Subject: DEV-10924 -- Release build is broken using "Debug" configuration Quite a few tweaks to get it to build/run - details in the Jira Reviewed by Mani --- indra/newview/llmimetypes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/llmimetypes.cpp') diff --git a/indra/newview/llmimetypes.cpp b/indra/newview/llmimetypes.cpp index 66f6b04720..67f7532ff6 100644 --- a/indra/newview/llmimetypes.cpp +++ b/indra/newview/llmimetypes.cpp @@ -53,7 +53,7 @@ bool LLMIMETypes::parseMIMETypes(const LLString& xml_filename) { LLXMLNodePtr root; bool success = LLViewerUICtrlFactory::getLayeredXMLNode(xml_filename, root); - if (!success || !root || !root->hasName("mimetypes")) + if ( ! success || ! root.isNull() || ! root->hasName( "mimetypes" ) ) { llwarns << "Unable to read MIME type file: " << xml_filename << llendl; -- cgit v1.2.3