From 14525bb412ece2869d1b2fc2b769ae207fa5f559 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 6 Aug 2017 08:50:55 +0200 Subject: JANITORIAL: Silence some GCC 7 warnings We have lots and lots of -Wimplicit-fallthrough warnings, and I don't know if it's worth fixing them or not. But if we want to, this is how it can be done. --- engines/sci/engine/kstring.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/sci/engine/kstring.cpp') diff --git a/engines/sci/engine/kstring.cpp b/engines/sci/engine/kstring.cpp index 4c5f1228de..3c6a0424f8 100644 --- a/engines/sci/engine/kstring.cpp +++ b/engines/sci/engine/kstring.cpp @@ -374,6 +374,7 @@ reg_t kFormat(EngineState *s, int argc, reg_t *argv) { case 'x': case 'u': unsignedVar = true; + /* fall through */ case 'd': { /* Copy decimal */ /* int templen; -- unused atm */ const char *format_string = "%d"; -- cgit v1.2.3