silence warnings

This commit is contained in:
Pierangelo Masarati 2008-09-16 14:10:02 +00:00
parent f8cbed38ce
commit 43ae03fc10
3 changed files with 2 additions and 4 deletions

View File

@ -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 )
{

View File

@ -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 )) {

View File

@ -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 );