diff options
author | George Peter Banyard <girgias@php.net> | 2020-02-06 13:20:15 +0100 |
---|---|---|
committer | George Peter Banyard <girgias@php.net> | 2020-02-06 13:20:15 +0100 |
commit | c3e65d90690be1ad201c05d5b635a41479c9e8a0 (patch) | |
tree | b13f2b9aedade26c678da33ceb99524d31e811dd /Zend/zend_ast.c | |
parent | d4de3f95d606b9e780e27d2b877a9e60aeccd134 (diff) | |
download | php-git-c3e65d90690be1ad201c05d5b635a41479c9e8a0.tar.gz |
Fix [-Wtype-limits] warning in LDAP by removing unnecessary condition
As context is a pointer to a berval struct and bv_len is of type
ber_len_t [1] which it self is defined as an unsigned integer [2]
this condition is always true.
[1] https://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=blob;f=include/lber.h#l212
[2] https://www.openldap.org/software//man.cgi?query=ber_free&sektion=3&apropos=0&manpath=OpenLDAP+2.4-Release
Diffstat (limited to 'Zend/zend_ast.c')
0 files changed, 0 insertions, 0 deletions