summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2021-01-05 19:43:50 +0100
committerjvoisin2021-01-05 19:43:50 +0100
commit42c56b40233ed7c8da29a7ae54631bc7e651b639 (patch)
treec89f597c410e20cdf722a92b68f9193d4d13ba7c
parenta88bb925fa410e898a3970c3e4a3e7237536724f (diff)
Fix a superfluous `const`
-rw-r--r--src/sp_var_value.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_var_value.c b/src/sp_var_value.c
index 126ba0e..b9ac357 100644
--- a/src/sp_var_value.c
+++ b/src/sp_var_value.c
@@ -70,7 +70,7 @@ static zval *get_var_value(zend_execute_data *ed, const char *var_name,
70 if (is_param) { 70 if (is_param) {
71 zval *zvalue = get_param_var(ed, var_name); 71 zval *zvalue = get_param_var(ed, var_name);
72 if (!zvalue) { 72 if (!zvalue) {
73 const char *complete_function_path = get_complete_function_path(ed); 73 char *complete_function_path = get_complete_function_path(ed);
74 sp_log_warn("config", 74 sp_log_warn("config",
75 "It seems that you are filtering on a parameter " 75 "It seems that you are filtering on a parameter "
76 "'%s' of the function '%s', but the parameter does " 76 "'%s' of the function '%s', but the parameter does "