Skip to content

Commit b2a49a9

Browse files
committed
Constify
1 parent 96a1de6 commit b2a49a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Zend/zend_partial.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ typedef struct zp_names {
132132
zend_string *params[1];
133133
} zp_names;
134134

135-
static bool zp_name_exists(zp_names *names, uint32_t argc, const zend_string *name)
135+
static bool zp_name_exists(const zp_names *names, uint32_t argc, const zend_string *name)
136136
{
137137
for (uint32_t i = 0; i < argc; i++) {
138138
if (names->params[i] && zend_string_equals(names->params[i], name)) {

0 commit comments

Comments
 (0)