X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-distro%2Frecipes-security%2Fgssproxy%2Ffiles%2FAppease-gcc-7-s-fallthrough-detection.patch;fp=meta-starlingx%2Fmeta-stx-distro%2Frecipes-security%2Fgssproxy%2Ffiles%2FAppease-gcc-7-s-fallthrough-detection.patch;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=024c20038cd84fd2b9803e450d7271d54cd7648b;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-distro/recipes-security/gssproxy/files/Appease-gcc-7-s-fallthrough-detection.patch b/meta-starlingx/meta-stx-distro/recipes-security/gssproxy/files/Appease-gcc-7-s-fallthrough-detection.patch deleted file mode 100644 index 024c200..0000000 --- a/meta-starlingx/meta-stx-distro/recipes-security/gssproxy/files/Appease-gcc-7-s-fallthrough-detection.patch +++ /dev/null @@ -1,27 +0,0 @@ -From f62ece3a9655c6507f40e03a36e28ecbba16f744 Mon Sep 17 00:00:00 2001 -From: Robbie Harwood -Date: Fri, 19 May 2017 12:18:03 -0400 -Subject: [PATCH] Appease gcc-7's fallthrough detection - -Signed-off-by: Robbie Harwood -Reviewed-by: Simo Sorce -Merges: #188 -(cherry picked from commit fdb56f8a0b6a5fd6a2072a525e228596c264883e) ---- - proxy/src/gp_export.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/proxy/src/gp_export.c b/proxy/src/gp_export.c -index 3a927c9..f44da50 100644 ---- a/proxy/src/gp_export.c -+++ b/proxy/src/gp_export.c -@@ -888,7 +888,8 @@ static uint32_t gp_export_creds_linux(uint32_t *min, gss_name_t name, - if (res != NULL) { - break; - } -- /* fall through as ret == NULL is equivalent to ENOENT */ -+ /* ret == NULL is equivalent to ENOENT */ -+ /* fall through */ - case ENOENT: - case ESRCH: - free(pwbuf);