summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-10 17:24:55 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-10 17:24:55 +0000
commit4cfb57bf9bbb11659c35b7b378dcd4d92eeb96c8 (patch)
treec20999e08036e3ee3d2fc19dbf8d35cf49910c8f /indra/newview
parent1562b12b6ca7aa5687e44ef0a99cbfbce3bb1cb4 (diff)
CID-411
Checker: UNUSED_VALUE Function: LLNameListCtrl::refresh(const LLUUID &, const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, int) File: /indra/newview/llnamelistctrl.cpp dead code.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llnamelistctrl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llnamelistctrl.cpp b/indra/newview/llnamelistctrl.cpp
index 40e8b64362..114fef8712 100644
--- a/indra/newview/llnamelistctrl.cpp
+++ b/indra/newview/llnamelistctrl.cpp
@@ -339,8 +339,7 @@ void LLNameListCtrl::refresh(const LLUUID& id, const std::string& first,
LLScrollListItem* item = *iter;
if (item->getUUID() == id)
{
- LLScrollListCell* cell = (LLScrollListCell*)item->getColumn(0);
- cell = item->getColumn(mNameColumnIndex);
+ LLScrollListCell* cell = item->getColumn(mNameColumnIndex);
if (cell)
{
cell->setValue(fullname);