libkcapi/libkcapi-1.0.3-kcapi-hasher_fix_Werror_implicit-fallthrough.patch
2018-02-17 11:01:56 +01:00

26 lines
654 B
Diff

From 53775cd61f8e4a538cf057b73d91f510ef11fbaa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org>
Date: Sat, 17 Feb 2018 10:54:22 +0100
Subject: [PATCH] kcapi-hasher: Fix -Werror=implicit-fallthrough
---
apps/kcapi-hasher.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/kcapi-hasher.c b/apps/kcapi-hasher.c
index bb4ac92..f7b056d 100644
--- a/apps/kcapi-hasher.c
+++ b/apps/kcapi-hasher.c
@@ -758,10 +758,10 @@ int main(int argc, char *argv[])
usage(argv[0]);
ret = 0;
goto out;
- }
case 7:
bsd_style = 1;
break;
+ }
break;
case 'v':