From 001b68a545797fd90505e523a1a4337e13f3b32c Mon Sep 17 00:00:00 2001 From: Theriaca Date: Tue, 22 Jan 2019 01:59:30 +0100 Subject: fix all compiler warnings from "stock" code --- src/ui/ui_main.c | 39 --------------------------------------- 1 file changed, 39 deletions(-) (limited to 'src/ui') diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c index 357afc4..19161f0 100644 --- a/src/ui/ui_main.c +++ b/src/ui/ui_main.c @@ -86,47 +86,8 @@ static const serverFilter_t serverFilters[] = { {"OSP", "osp" }, }; -static const char *teamArenaGameTypes[] = { - "FFA", - "TOURNAMENT", - "SP", - "TEAM DM", - "CTF", - "1FCTF", - "OVERLOAD", - "HARVESTER", - "TEAMTOURNAMENT" -}; - -static int const numTeamArenaGameTypes = sizeof(teamArenaGameTypes) / sizeof(const char*); - - -static const char *teamArenaGameNames[] = { - "Free For All", - "Tournament", - "Single Player", - "Team Deathmatch", - "Capture the Flag", - "One Flag CTF", - "Overload", - "Harvester", - "Team Tournament", -}; - -static int const numTeamArenaGameNames = sizeof(teamArenaGameNames) / sizeof(const char*); - - static const int numServerFilters = sizeof(serverFilters) / sizeof(serverFilter_t); -static const char *sortKeys[] = { - "Server Name", - "Map Name", - "Open Player Spots", - "Game Type", - "Ping Time" -}; -static const int numSortKeys = sizeof(sortKeys) / sizeof(const char*); - static char* netnames[] = { "???", "UDP", -- cgit