summaryrefslogtreecommitdiff
path: root/Zend/zend_ast.c
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-02-06 13:20:15 +0100
committerGeorge Peter Banyard <girgias@php.net>2020-02-06 13:20:15 +0100
commitc3e65d90690be1ad201c05d5b635a41479c9e8a0 (patch)
treeb13f2b9aedade26c678da33ceb99524d31e811dd /Zend/zend_ast.c
parentd4de3f95d606b9e780e27d2b877a9e60aeccd134 (diff)
downloadphp-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