From 5b70d605ceb667e17f150b9b6089eba6aed07e4b Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 5 Nov 2017 19:38:42 +0100 Subject: [PATCH] gcc is annoying about switch statements --- src/names.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/names.c b/src/names.c index bc740a704..ef2d58422 100644 --- a/src/names.c +++ b/src/names.c @@ -248,6 +248,8 @@ static void dragon_name(unit * u) case T_GLACIER: ter = 5; break; + default: + ter = 0; } if (num_postfix <=0) {