From e2b74815a4bdb8fde177d4dce2e3aa1ba3792617 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 17 Jan 2018 19:43:11 +0100 Subject: Bump a bit the coverage --- src/sp_disabled_functions.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/sp_disabled_functions.c') diff --git a/src/sp_disabled_functions.c b/src/sp_disabled_functions.c index 5619e1f..f5051df 100644 --- a/src/sp_disabled_functions.c +++ b/src/sp_disabled_functions.c @@ -193,8 +193,7 @@ static bool is_param_matching(zend_execute_data* execute_data, if (arg_value) { *arg_value_str = sp_convert_to_string(arg_value); if (config_node->param_type) { // Are we matching on the `type`? - if (config_node->param_type && - config_node->param_type == Z_TYPE_P(arg_value)) { + if (config_node->param_type == Z_TYPE_P(arg_value)) { return true; } } else if (Z_TYPE_P(arg_value) == IS_ARRAY) { -- cgit v1.3