All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH] fc_sort: avoid compiler warning/error
@ 2017-06-05 14:56 Guido Trentalancia
  2017-06-05 15:04 ` [refpolicy] [PATCH v2] " Guido Trentalancia
  0 siblings, 1 reply; 9+ messages in thread
From: Guido Trentalancia @ 2017-06-05 14:56 UTC (permalink / raw)
  To: refpolicy

Fix a "-Werror=implicit-fallthrough" compiler warning/error on
the switch statement.

Signed-off-by: Guido Trentalancia <guido@trentalancia.com>
---
 support/fc_sort.c |    1 +
 1 file changed, 1 insertion(+)

--- a/support/fc_sort.c	2017-03-29 17:57:54.576386420 +0200
+++ b/support/fc_sort.c	2017-06-05 16:43:51.623729385 +0200
@@ -292,6 +292,7 @@ void fc_fill_data(file_context_node_t *f
 			/* If a escape character is found,
 			 *  skip the next character. */
 			c++;
+			break;
 		default:
 			/* If no meta character has been found yet,
 			 *  add one to the stem length. */

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-06-07 23:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-05 14:56 [refpolicy] [PATCH] fc_sort: avoid compiler warning/error Guido Trentalancia
2017-06-05 15:04 ` [refpolicy] [PATCH v2] " Guido Trentalancia
2017-06-05 14:20   ` Christian Göttsche
2017-06-05 15:22     ` Guido Trentalancia
2017-06-05 16:31   ` Jason Zaman
2017-06-05 22:08   ` [refpolicy] [PATCH v3] " Guido Trentalancia
2017-06-07  0:07     ` Chris PeBenito
2017-06-07  5:27       ` Guido Trentalancia
2017-06-07 23:16     ` Chris PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.