Skip to content

Commit 5820abe

Browse files
committed
Remove obsolete zend_mark_function_parameter_as_sensitive()
1 parent 3f62f35 commit 5820abe

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Zend/zend_attributes.h

-13
Original file line numberDiff line numberDiff line change
@@ -117,19 +117,6 @@ static zend_always_inline zend_attribute *zend_add_class_constant_attribute(zend
117117
return zend_add_attribute(&c->attributes, name, argc, flags, 0, 0);
118118
}
119119

120-
static zend_always_inline zend_attribute *zend_mark_function_parameter_as_sensitive(const HashTable *table, const char *func_name, uint32_t parameter)
121-
{
122-
zend_function *func = zend_hash_str_find_ptr(table, func_name, strlen(func_name));
123-
ZEND_ASSERT(func != NULL);
124-
125-
return zend_add_parameter_attribute(
126-
func,
127-
parameter,
128-
zend_ce_sensitive_parameter->name,
129-
0
130-
);
131-
}
132-
133120
void zend_register_attribute_ce(void);
134121
void zend_attributes_shutdown(void);
135122

0 commit comments

Comments
 (0)