forked from github/server
fixing the gcc build (switch warning)
This commit is contained in:
parent
ecc3b1b441
commit
59075b7194
1 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue