fixing the gcc build (switch warning)

This commit is contained in:
Enno Rehling 2014-11-02 12:45:20 +01:00
parent ecc3b1b441
commit 59075b7194

View file

@ -3531,7 +3531,6 @@ void produce(struct region *r)
continue; continue;
switch (todo) { switch (todo) {
case K_ENTERTAIN: case K_ENTERTAIN:
entertain_cmd(u, u->thisorder); entertain_cmd(u, u->thisorder);
break; break;
@ -3571,6 +3570,8 @@ void produce(struct region *r)
case K_RESEARCH: case K_RESEARCH:
research_cmd(u, u->thisorder); research_cmd(u, u->thisorder);
break; break;
default:
assert(!"should not happen");
} }
} }