]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldap/bind.c
Drop extraneous test from copy/paste (1.200) (coverity)
[openldap] / servers / slapd / back-ldap / bind.c
index 92018cf82370fb4a0af707cc9c689d0c765b7472..2f62b40c99caccfe9627080be1cc4162bc88a2f0 100644 (file)
@@ -1462,7 +1462,7 @@ retry:;
                 * LDAP_COMPARE_{TRUE|FALSE}) */
                default:
                        /* only touch when activity actually took place... */
-                       if ( li->li_idle_timeout && lc ) {
+                       if ( li->li_idle_timeout ) {
                                lc->lc_time = op->o_time;
                        }