]> git.sur5r.net Git - openldap/commitdiff
Revert "Revert "ITS#8240 remove obsolete assert""
authorHoward Chu <hyc@symas.com>
Sat, 12 Sep 2015 21:18:22 +0000 (22:18 +0100)
committerHoward Chu <hyc@symas.com>
Sat, 12 Sep 2015 21:18:22 +0000 (22:18 +0100)
We have never documented our use of assert, so can't expect
builders to do the right thing.
This reverts commit 55dd4d3275d24c5190fdfada8dfae0320628b993.

libraries/liblber/io.c

index 85c3e23e810512fa80ec31c302a2a5a1a8a97cb5..c05dcf8434a42c5be71614da7e63e53c2f18cc6c 100644 (file)
@@ -679,7 +679,7 @@ done:
                return (ber->ber_tag);
        }
 
-       assert( 0 ); /* ber structure is messed up ?*/
+       /* invalid input */
        return LBER_DEFAULT;
 }