mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
silence warnings
This commit is contained in:
parent
f8cbed38ce
commit
43ae03fc10
@ -389,7 +389,6 @@ main( int argc, char *argv[] )
|
||||
" new password expected", NULL, NULL, NULL );
|
||||
}
|
||||
|
||||
skip:
|
||||
if( verbose || code != LDAP_SUCCESS ||
|
||||
matcheddn || text || refs || ctrls )
|
||||
{
|
||||
|
@ -412,7 +412,7 @@ handle_private_option( int i )
|
||||
exit( EXIT_FAILURE );
|
||||
}
|
||||
keyp = cvalue;
|
||||
while (keyp = strchr(keyp, '/')) {
|
||||
while ( ( keyp = strchr(keyp, '/') ) != NULL ) {
|
||||
*keyp++ = ' ';
|
||||
}
|
||||
if ( ldap_create_sort_keylist( &sss_keys, cvalue )) {
|
||||
|
@ -337,8 +337,7 @@ ldap_int_open_connection(
|
||||
int async )
|
||||
{
|
||||
int rc = -1;
|
||||
char *host;
|
||||
int port, proto;
|
||||
int proto;
|
||||
|
||||
Debug( LDAP_DEBUG_TRACE, "ldap_int_open_connection\n", 0, 0, 0 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user