From 4cfb57bf9bbb11659c35b7b378dcd4d92eeb96c8 Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Wed, 10 Feb 2010 17:24:55 +0000 Subject: CID-411 Checker: UNUSED_VALUE Function: LLNameListCtrl::refresh(const LLUUID &, const std::basic_string, std::allocator>&, const std::basic_string, std::allocator>&, int) File: /indra/newview/llnamelistctrl.cpp dead code. --- indra/newview/llnamelistctrl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'indra/newview') 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); -- cgit v1.2.3