forked from github/server
fixing the gcc build (switch warning)
This commit is contained in:
parent
ecc3b1b441
commit
59075b7194
|
@ -3531,7 +3531,6 @@ void produce(struct region *r)
|
|||
continue;
|
||||
|
||||
switch (todo) {
|
||||
|
||||
case K_ENTERTAIN:
|
||||
entertain_cmd(u, u->thisorder);
|
||||
break;
|
||||
|
@ -3571,6 +3570,8 @@ void produce(struct region *r)
|
|||
case K_RESEARCH:
|
||||
research_cmd(u, u->thisorder);
|
||||
break;
|
||||
default:
|
||||
assert(!"should not happen");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue