(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:
@@ -52,7 +52,7 @@
|
||||
return AIObject::DoCommand(0, group_id, 0, CMD_RENAME_GROUP, name);
|
||||
}
|
||||
|
||||
/* static */ const char *AIGroup::GetName(GroupID group_id)
|
||||
/* static */ char *AIGroup::GetName(GroupID group_id)
|
||||
{
|
||||
if (!IsValidGroup(group_id)) return NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user