]> git.sur5r.net Git - openldap/commitdiff
silence warning
authorPierangelo Masarati <ando@openldap.org>
Tue, 20 Dec 2005 20:36:05 +0000 (20:36 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 20 Dec 2005 20:36:05 +0000 (20:36 +0000)
servers/slapd/back-meta/config.c

index 811154523b74a91aeeb5ce6a66fa61542a36aa99..71b213ba4a276d351e98857b1e7ec19b5d6acc85 100644 (file)
@@ -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