From: Pierangelo Masarati Date: Sun, 3 Jun 2001 08:53:13 +0000 (+0000) Subject: semicolon after colon in goto labels X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1364 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5a2014b863928f2114a6855c7b8851027900a6d4;p=openldap semicolon after colon in goto labels --- diff --git a/servers/slapd/back-ldap/group.c b/servers/slapd/back-ldap/group.c index 4c33926bc2..a8a167766b 100644 --- a/servers/slapd/back-ldap/group.c +++ b/servers/slapd/back-ldap/group.c @@ -195,7 +195,7 @@ ldap_back_group( ldap_msgfree(result); } -cleanup: +cleanup:; if ( ld != NULL ) { ldap_unbind(ld); } diff --git a/servers/slapd/back-ldap/modify.c b/servers/slapd/back-ldap/modify.c index 0b986db4c3..a59d4179ca 100644 --- a/servers/slapd/back-ldap/modify.c +++ b/servers/slapd/back-ldap/modify.c @@ -142,7 +142,7 @@ ldap_back_modify( ldap_modify_s( lc->ld, mdn, modv ); -cleanup: +cleanup:; #ifdef ENABLE_REWRITE if ( mdn != dn ) { #endif /* ENABLE_REWRITE */ diff --git a/servers/slapd/back-ldap/search.c b/servers/slapd/back-ldap/search.c index a0097d5c7f..a346ce2afd 100644 --- a/servers/slapd/back-ldap/search.c +++ b/servers/slapd/back-ldap/search.c @@ -183,7 +183,7 @@ ldap_back_search( if ((msgid = ldap_search(lc->ld, mbase, scope, mapped_filter, mapped_attrs, attrsonly)) == -1) { -fail: +fail:; rc = ldap_back_op_result(lc, op); goto finish; } @@ -273,7 +273,7 @@ fail: match, err, NULL, NULL, count ); #endif /* !ENABLE_REWRITE */ -finish: +finish:; if ( match ) { #ifdef ENABLE_REWRITE if ( mmatch != match ) {