summaryrefslogtreecommitdiff
blob: 8106249dce518b4d9aef9f0f4d738fc4b96c1287 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Patch by Mike Bonar to fix building with newer gcc versions

http://bugs.gentoo.org/109476

--- src/main.c
+++ src/main.c
@@ -136,7 +136,6 @@
         case 'h':
             if (ctlspec[1] == 0 || strcasecmp(ctlspec, "human") == 0) ctl = PLAYER_CTRL_HUMAN;
             break;
-        default:
     }
     if (ctl != PLAYER_CTRL_CPU && ctl != PLAYER_CTRL_HUMAN)
         abortf("Invalid player control: %s\n", ctlspec);