Skip to content

Commit dd94d47

Browse files
weltlingnikic
authored andcommitted
A void function should not return
1 parent b6931d0 commit dd94d47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ast.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ static void ast_create_virtual_node(
499499
zval *zv, zend_ast_kind kind, zend_ast_attr attr, zend_ast *child, ast_state_info_t *state) {
500500
zval child_zv;
501501
ast_to_zval(&child_zv, child, state);
502-
return ast_create_virtual_node_ex(
502+
ast_create_virtual_node_ex(
503503
zv, kind, attr, zend_ast_get_lineno(child), state, 1, &child_zv);
504504
}
505505

0 commit comments

Comments
 (0)