]> git.sur5r.net Git - openldap/commitdiff
Drop extraneous test from copy/paste (1.200) (coverity)
authorHoward Chu <hyc@openldap.org>
Sun, 8 Oct 2006 00:37:18 +0000 (00:37 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 8 Oct 2006 00:37:18 +0000 (00:37 +0000)
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;
                        }