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

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