summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2018-07-18 20:35:41 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2018-07-18 20:35:41 +0300
commitef148a73aaacf0f6276a236180cdeaf43615fc31 (patch)
tree1fd98bfa0f74db2936442b89c1fb2f0da3efec2e /indra
parente37c30d5cd247d4dcefa1cf8e9e83fa8d8c25470 (diff)
MAINT-8844 Fix redundant check
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llselectmgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp
index f3cac0abdf..57b144aa51 100644
--- a/indra/newview/llselectmgr.cpp
+++ b/indra/newview/llselectmgr.cpp
@@ -3694,7 +3694,7 @@ BOOL LLSelectMgr::selectGetEditMoveLinksetPermissions(bool &move, bool &modify)
}
LLViewerObject* object = nodep->getObject();
- LLViewerObject *root_object = (object == NULL) ? NULL : object->getRootEdit();
+ LLViewerObject *root_object = object->getRootEdit();
bool this_object_movable = false;
if (object->permMove() && !object->isPermanentEnforced() &&
((root_object == NULL) || !root_object->isPermanentEnforced()) &&