From bee164f6a73825dae9f6fda7e321603dec88dbc6 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Thu, 28 Jun 2007 11:53:22 +0000 Subject: (svn r10371) -Fix (r9874): Remove never-used GetGroupName() function --- src/group.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') diff --git a/src/group.h b/src/group.h index f68306293..8c6667220 100644 --- a/src/group.h +++ b/src/group.h @@ -53,14 +53,6 @@ static inline bool IsDefaultGroupID(GroupID index) return (index == DEFAULT_GROUP); } -static inline StringID GetGroupName(GroupID index) -{ - if (!IsValidGroupID(index)) return STR_NULL; - - return GetGroup(index)->string_id; -} - - #define FOR_ALL_GROUPS_FROM(g, start) for (g = GetGroup(start); g != NULL; g = (g->index + 1U < GetGroupPoolSize()) ? GetGroup(g->index + 1) : NULL) if (IsValidGroup(g)) #define FOR_ALL_GROUPS(g) FOR_ALL_GROUPS_FROM(g, 0) -- cgit v1.2.3-70-g09d2