summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcallum_linden <none@none>2014-10-18 11:37:14 -0700
committercallum_linden <none@none>2014-10-18 11:37:14 -0700
commitf81394a544bbdec94d49bd0b056a0345e54ab6a3 (patch)
tree9548a16d8e8da45ae8c6f1e225e7f167d334c8a4
parent91eab4a9ea0cda8ccff52987d76af285cf4d18ce (diff)
Update to build on Xcode 6.0: fix 'using the result of an expression as a conditional without parentheses
-rwxr-xr-xindra/newview/llappearancemgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp
index 29534a4382..b3b8a40d39 100755
--- a/indra/newview/llappearancemgr.cpp
+++ b/indra/newview/llappearancemgr.cpp
@@ -3752,7 +3752,7 @@ bool LLAppearanceMgr::moveWearable(LLViewerInventoryItem* item, bool closer_to_b
//to cause appearance of the agent to be updated
bool result = false;
- if (result = gAgentWearables.moveWearable(item, closer_to_body))
+ if ((result = gAgentWearables.moveWearable(item, closer_to_body)))
{
gAgentAvatarp->wearableUpdated(item->getWearableType());
}