Skip to content

Commit

Permalink
A void function should not return
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling authored and nikic committed Feb 18, 2018
1 parent b6931d0 commit dd94d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ast.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ static void ast_create_virtual_node(
zval *zv, zend_ast_kind kind, zend_ast_attr attr, zend_ast *child, ast_state_info_t *state) {
zval child_zv;
ast_to_zval(&child_zv, child, state);
return ast_create_virtual_node_ex(
ast_create_virtual_node_ex(
zv, kind, attr, zend_ast_get_lineno(child), state, 1, &child_zv);
}

Expand Down

0 comments on commit dd94d47

Please sign in to comment.