changeset 22380:13d2cba2e231

11939 libgen: this statement may fall through Reviewed by: Matthias Scheler <matthias.scheler@tegile.com> Approved by: Dan McDonald <danmcd@joyent.com>
author Toomas Soome <tsoome@me.com>
date Wed, 21 Nov 2018 23:16:04 +0200
parents da4207e17ba1
children 18825952d227
files usr/src/lib/libgen/common/reg_compile.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/lib/libgen/common/reg_compile.c	Mon Aug 19 20:54:40 2019 +0000
+++ b/usr/src/lib/libgen/common/reg_compile.c	Wed Nov 21 23:16:04 2018 +0200
@@ -404,8 +404,11 @@
 				break;
 			}
 
-	/* Drop through to default to use \ to turn off special chars */
-
+			/*
+			 * Drop through to default to use \ to turn off
+			 * special chars
+			 */
+			/* FALLTHROUGH */
 		defchar:
 		default:
 			lastep = ep;