Skip to content

Commit 9a98c38

Browse files
author
Ilia Alshanetsky
committed
Removed pointless check.
1 parent e09aff9 commit 9a98c38

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ext/ldap/ldap.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,9 +399,6 @@ PHP_FUNCTION(ldap_connect)
399399
}
400400

401401
ld = ecalloc(1, sizeof(ldap_linkdata));
402-
if (ld == NULL) {
403-
RETURN_FALSE;
404-
}
405402

406403
#ifdef LDAP_API_FEATURE_X_OPENLDAP
407404
if (host != NULL && strchr(host, '/')) {

0 commit comments

Comments
 (0)