(svn r15123) -Fix [NoAI]: 'const char *' implies that the return value should not be free'd, which is should .. so make them 'char *'
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
return AIObject::DoCommand(0, sign_id, 0, CMD_RENAME_SIGN, name);
|
||||
}
|
||||
|
||||
/* static */ const char *AISign::GetName(SignID sign_id)
|
||||
/* static */ char *AISign::GetName(SignID sign_id)
|
||||
{
|
||||
if (!IsValidSign(sign_id)) return NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user