Blame SOURCES/Appease-gcc-7-s-fallthrough-detection.patch

1f3433
From f62ece3a9655c6507f40e03a36e28ecbba16f744 Mon Sep 17 00:00:00 2001
1f3433
From: Robbie Harwood <rharwood@redhat.com>
1f3433
Date: Fri, 19 May 2017 12:18:03 -0400
1f3433
Subject: [PATCH] Appease gcc-7's fallthrough detection
1f3433
1f3433
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
1f3433
Reviewed-by: Simo Sorce <simo@redhat.com>
1f3433
Merges: #188
1f3433
(cherry picked from commit fdb56f8a0b6a5fd6a2072a525e228596c264883e)
1f3433
---
1f3433
 proxy/src/gp_export.c | 3 ++-
1f3433
 1 file changed, 2 insertions(+), 1 deletion(-)
1f3433
1f3433
diff --git a/proxy/src/gp_export.c b/proxy/src/gp_export.c
1f3433
index 3a927c9..f44da50 100644
1f3433
--- a/proxy/src/gp_export.c
1f3433
+++ b/proxy/src/gp_export.c
1f3433
@@ -888,7 +888,8 @@ static uint32_t gp_export_creds_linux(uint32_t *min, gss_name_t name,
1f3433
         if (res != NULL) {
1f3433
             break;
1f3433
         }
1f3433
-        /* fall through as ret == NULL is equivalent to ENOENT */
1f3433
+        /* ret == NULL is equivalent to ENOENT */
1f3433
+        /* fall through */
1f3433
     case ENOENT:
1f3433
     case ESRCH:
1f3433
         free(pwbuf);