From 59075b7194c9af49ac7ee0ea8f037156408446e4 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 2 Nov 2014 12:45:20 +0100 Subject: [PATCH] fixing the gcc build (switch warning) --- src/economy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/economy.c b/src/economy.c index a9c8b9894..d2da71570 100644 --- a/src/economy.c +++ b/src/economy.c @@ -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"); } }