Skip to content

Commit b3b1658

Browse files
committed
Remove dead code
This was checking for the headerfault property, but not actually doing anything with it.
1 parent aa4898e commit b3b1658

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ext/soap/soap.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1473,11 +1473,6 @@ PHP_METHOD(SoapServer, handle)
14731473
}
14741474
if (Z_TYPE(h->retval) == IS_OBJECT &&
14751475
instanceof_function(Z_OBJCE(h->retval), soap_fault_class_entry)) {
1476-
zval *tmp;
1477-
1478-
if ((tmp = zend_hash_str_find(Z_OBJPROP(h->retval), "headerfault", sizeof("headerfault")-1)) != NULL &&
1479-
Z_TYPE_P(tmp) != IS_NULL) {
1480-
}
14811476
php_output_discard();
14821477
soap_server_fault_ex(function, &h->retval, h);
14831478
zend_string_release(fn_name);

0 commit comments

Comments
 (0)