Skip to content

Commit a23a795

Browse files
committed
Found anohter zend_result
1 parent dae2083 commit a23a795

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

ext/snmp/snmp.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2217,13 +2217,11 @@ static zend_result php_snmp_write_oid_output_format(php_snmp_object *snmp_object
22172217
/* }}} */
22182218

22192219
/* {{{ */
2220-
static int php_snmp_write_exceptions_enabled(php_snmp_object *snmp_object, zval *newval)
2220+
static zend_result php_snmp_write_exceptions_enabled(php_snmp_object *snmp_object, zval *newval)
22212221
{
2222-
int ret = SUCCESS;
2223-
22242222
snmp_object->exceptions_enabled = zval_get_long(newval);
22252223

2226-
return ret;
2224+
return SUCCESS;
22272225
}
22282226
/* }}} */
22292227

0 commit comments

Comments
 (0)