Fix compiler warning for GCC 9 on Linux. Patch by Kitty Barnett

master
ziree 2019-10-09 21:06:41 +02:00
parent 16fc62c937
commit 22c24e188a
1 changed files with 2 additions and 1 deletions

View File

@ -348,7 +348,8 @@ const std::string& RlvStrings::getAnonym(const std::string& strName)
{
if (!rlv_handler_t::isEnabled())
{
return strName;
static std::string strNobody = LLTrans::getString("AvatarNameNobody");
return strNobody;
}
const char* pszName = strName.c_str(); U32 nHash = 0;