summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2010-02-16 12:07:02 -0800
committerJames Cook <james@lindenlab.com>2010-02-16 12:07:02 -0800
commita7041d0a442df98e5a1c938ce9b096f7279b96f7 (patch)
tree68090c39f08b4427896710204ac62c6f74c67f41 /indra/llmessage
parent65d388d162dc14f5b8b3e0bfff1ae1125736f564 (diff)
Fix Linux build warning/error for unused function
Diffstat (limited to 'indra/llmessage')
-rw-r--r--indra/llmessage/llavatarnamecache.cpp27
1 files changed, 14 insertions, 13 deletions
diff --git a/indra/llmessage/llavatarnamecache.cpp b/indra/llmessage/llavatarnamecache.cpp
index 6dac25cd63..dbcb0d0c03 100644
--- a/indra/llmessage/llavatarnamecache.cpp
+++ b/indra/llmessage/llavatarnamecache.cpp
@@ -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()
{