mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
Remove pointless `unsigned < 0' test.
This commit is contained in:
parent
265b7e22c6
commit
9d11c5ea46
1 changed files with 0 additions and 5 deletions
|
|
@ -141,11 +141,6 @@ ber_skip_tag( BerElement *ber, ber_len_t *len )
|
|||
*len = lc;
|
||||
}
|
||||
|
||||
/* BER length should be non-negative */
|
||||
if( *len < 0 ) {
|
||||
return LBER_DEFAULT;
|
||||
}
|
||||
|
||||
/* BER element should have enough data left */
|
||||
if( *len > (ber_len_t) ber_pvt_ber_remaining( ber ) ) {
|
||||
return LBER_DEFAULT;
|
||||
|
|
|
|||
Loading…
Reference in a new issue