diff options
| author | jvoisin | 2020-07-12 22:35:48 +0200 |
|---|---|---|
| committer | jvoisin | 2020-07-12 22:35:48 +0200 |
| commit | 043d9897b4d6879f9a91dbd0ccdb476649731f7c (patch) | |
| tree | 4668f43df59a75d267fdb326b746d6cb9236093a /src | |
| parent | 038ebdc27151210bc8586e361b2f2e70b76d931c (diff) | |
One more const
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp_disabled_functions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sp_disabled_functions.c b/src/sp_disabled_functions.c index c46ee58..f35f5ca 100644 --- a/src/sp_disabled_functions.c +++ b/src/sp_disabled_functions.c | |||
| @@ -87,7 +87,8 @@ static bool is_local_var_matching( | |||
| 87 | return true; | 87 | return true; |
| 88 | } | 88 | } |
| 89 | } else { | 89 | } else { |
| 90 | const zend_string* var_value_str = sp_zval_to_zend_string(var_value); | 90 | zend_string const* const var_value_str = |
| 91 | sp_zval_to_zend_string(var_value); | ||
| 91 | bool match = sp_match_value(var_value_str, config_node->value, | 92 | bool match = sp_match_value(var_value_str, config_node->value, |
| 92 | config_node->r_value); | 93 | config_node->r_value); |
| 93 | 94 | ||
