summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2014-12-12 13:39:57 -0800
committerNat Goodspeed <nat@lindenlab.com>2014-12-12 13:39:57 -0800
commit7282d29bf82deaeb5649b09f062d42c04df6eb55 (patch)
tree177cea7e71988c7a7c0500fb7b02deec3a935237 /indra/llui
parent727adc994f8d9e9209ac844bbb44e7156b7f2d6b (diff)
Make LINE_NUMBER_HERE workaround conditional on LL_WINDOWS.
The referencing code is all within LL_WINDOWS conditionals, so the dummy variable must be enclosed that way too -- otherwise we get unreferenced-variable warnings-as-errors on other platforms.
Diffstat (limited to 'indra/llui')
-rwxr-xr-xindra/llui/llxuiparser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/llxuiparser.cpp b/indra/llui/llxuiparser.cpp
index 37d88cb9f9..99a0869ce3 100755
--- a/indra/llui/llxuiparser.cpp
+++ b/indra/llui/llxuiparser.cpp
@@ -58,7 +58,9 @@ static LLInitParam::Parser::parser_inspect_func_map_t sSimpleXUIInspectFuncs;
const char* NO_VALUE_MARKER = "no_value";
+#ifdef LL_WINDOWS
const S32 LINE_NUMBER_HERE = 0;
+#endif
struct MaxOccursValues : public LLInitParam::TypeValuesHelper<U32, MaxOccursValues>
{