From 9344a957ed2e67cf1cd285eac66ed7dd159d8d13 Mon Sep 17 00:00:00 2001 From: Olaf Meeuwissen Date: Sun, 11 Aug 2019 10:16:00 +0900 Subject: [PATCH] apple: Fix [-Wimplicit-fallthrough] compiler warning It doesn't make sense to log a value as both `Fixed` *and* `Int`. --- backend/apple.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/apple.c b/backend/apple.c index 8d7a8fc40..980edb457 100644 --- a/backend/apple.c +++ b/backend/apple.c @@ -2064,8 +2064,8 @@ sane_control_option (SANE_Handle handle, SANE_Int option, v2 = SANE_UNFIX (f); DBG (FLOW_CONTROL, "Value %g (Fixed)\n", (action == SANE_ACTION_GET_VALUE) ? v1 : v2); - } - // fall through + break; + } default: DBG (FLOW_CONTROL, "Value %u (Int).\n", (action == SANE_ACTION_GET_VALUE)