From 734614ab6fb6d1a8b81c0fb76aacdd776d5b5b57 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 12 Aug 2020 16:49:11 +0200 Subject: [PATCH] deal with gcc's -Werror=switch --- src/kernel/unit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kernel/unit.c b/src/kernel/unit.c index 494837d9d..99f1d76ad 100644 --- a/src/kernel/unit.c +++ b/src/kernel/unit.c @@ -1878,6 +1878,8 @@ bool translate_order(order *ord, const struct locale *from_lang, const struct lo case K_URSPRUNG: /* we can keep these, they do not use translated strings */ return true; + default: + return false; } return false;