]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldap/bind.c
Minor cleanup (coverity)
[openldap] / servers / slapd / back-ldap / bind.c
index 1718e612d302c97195f7066349410cd3bf5151fd..4db8215f1ddc48214ab8a4b921aaebbb19d3797d 100644 (file)
@@ -1845,7 +1845,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;
                        }