Skip to content

Commit 79d4e84

Browse files
committed
Review
1 parent 8165e72 commit 79d4e84

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Zend/zend_ast.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,7 @@ static zend_result ZEND_FASTCALL zend_ast_evaluate_inner(
11411141
zend_class_entry *called_scope = NULL;
11421142

11431143
zend_ast *args_ast = zend_ast_call_get_args(ast);
1144-
ZEND_ASSERT(args_ast && args_ast->kind == ZEND_AST_CALLABLE_CONVERT);
1144+
ZEND_ASSERT(args_ast->kind == ZEND_AST_CALLABLE_CONVERT);
11451145

11461146
zend_ast_fcc *fcc_ast = (zend_ast_fcc*)args_ast;
11471147

@@ -3084,5 +3084,6 @@ zend_ast * ZEND_FASTCALL zend_ast_call_get_args(zend_ast *ast)
30843084
return ast->child[2];
30853085
}
30863086

3087+
ZEND_UNREACHABLE();
30873088
return NULL;
30883089
}

0 commit comments

Comments
 (0)