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.
master
Tofu Linden 2010-02-10 17:24:55 +00:00
parent 1562b12b6c
commit 4cfb57bf9b
1 changed files with 1 additions and 2 deletions

View File

@ -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);