Skip to content
Snippets Groups Projects
Commit a7041d0a authored by James Cook's avatar James Cook
Browse files

Fix Linux build warning/error for unused function

parent 65d388d1
No related branches found
No related tags found
No related merge requests found
......@@ -43,19 +43,20 @@ namespace LLAvatarNameCache
std::map<LLUUID, LLAvatarName> sCache;
}
static std::string slid_from_full_name(const std::string& full_name)
{
std::string id = full_name;
std::string::size_type end = id.length();
for (std::string::size_type i = 0; i < end; ++i)
{
if (id[i] == ' ')
id[i] = '.';
else
id[i] = tolower(id[i]);
}
return id;
}
// JAMESDEBUG re-enable when display names are turned on
//static std::string slid_from_full_name(const std::string& full_name)
//{
// std::string id = full_name;
// std::string::size_type end = id.length();
// for (std::string::size_type i = 0; i < end; ++i)
// {
// if (id[i] == ' ')
// id[i] = '.';
// else
// id[i] = tolower(id[i]);
// }
// return id;
//}
void LLAvatarNameCache::initClass()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment