From: Pierangelo Masarati Date: Tue, 20 Dec 2005 20:36:05 +0000 (+0000) Subject: silence warning X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~538 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8346de462bcf661fa8318e052281a4641a535913;p=openldap silence warning --- diff --git a/servers/slapd/back-meta/config.c b/servers/slapd/back-meta/config.c index 811154523b..71b213ba4a 100644 --- a/servers/slapd/back-meta/config.c +++ b/servers/slapd/back-meta/config.c @@ -346,7 +346,6 @@ meta_back_db_config( /* network timeout when connecting to ldap servers */ } else if ( strcasecmp( argv[ 0 ], "network-timeout" ) == 0 ) { - int i = mi->mi_ntargets - 1; unsigned long t; time_t *tp = mi->mi_ntargets ? &mi->mi_targets[ mi->mi_ntargets - 1 ].mt_network_timeout @@ -371,7 +370,6 @@ meta_back_db_config( /* idle timeout when connecting to ldap servers */ } else if ( strcasecmp( argv[ 0 ], "idle-timeout" ) == 0 ) { - int i = mi->mi_ntargets - 1; unsigned long t; time_t *tp = mi->mi_ntargets ? &mi->mi_targets[ mi->mi_ntargets - 1 ].mt_idle_timeout @@ -404,7 +402,6 @@ meta_back_db_config( /* bind timeout when connecting to ldap servers */ } else if ( strcasecmp( argv[ 0 ], "bind-timeout" ) == 0 ) { - int i = mi->mi_ntargets - 1; unsigned long t; struct timeval *tp = mi->mi_ntargets ? &mi->mi_targets[ mi->mi_ntargets - 1 ].mt_bind_timeout