From d7fdecd2374114124f192b3bfc84d2d294bb45ab Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Sat, 1 Jul 2017 10:54:17 +0300 Subject: 9154 libldap5: this statement may fall through Reviewed by: Sebastian Wiedenroth Reviewed by: Jason King Approved by: Richard Lowe --- usr/src/lib/libldap5/sources/ldap/common/getdn.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'usr/src/lib/libldap5/sources/ldap/common/getdn.c') diff --git a/usr/src/lib/libldap5/sources/ldap/common/getdn.c b/usr/src/lib/libldap5/sources/ldap/common/getdn.c index 4ab49eef28..db3b93de06 100644 --- a/usr/src/lib/libldap5/sources/ldap/common/getdn.c +++ b/usr/src/lib/libldap5/sources/ldap/common/getdn.c @@ -3,8 +3,6 @@ * All rights reserved. */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* * The contents of this file are subject to the Netscape Public * License Version 1.1 (the "License"); you may not use this file @@ -34,12 +32,6 @@ * getdn.c */ -#if 0 -#ifndef lint -static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n"; -#endif -#endif - #include "ldap-int.h" char * @@ -238,6 +230,7 @@ ldap_explode( const char *dn, const int notypes, const int nametype ) state = INQUOTE; break; case '+': if ( nametype != LDAP_RDN ) break; + /* FALLTHROUGH */ case ';': case ',': case '\0': @@ -323,7 +316,7 @@ ldap_explode( const char *dn, const int notypes, const int nametype ) if ( state == OUTQUOTE ) { goteq = 1; } - /* FALL */ + /* FALLTHROUGH */ default: plen = LDAP_UTF8LEN(p); break; -- cgit v1.2.3