fix(execution): ast_void does not affect return value => if statements now work
This commit is contained in:
parent
6be3dde607
commit
da948f58fe
1 changed files with 3 additions and 2 deletions
|
|
@ -245,6 +245,7 @@ int execution(struct ast *ast, struct hash_map *vars)
|
|||
while (cur)
|
||||
{
|
||||
struct ast *child = (struct ast *)cur->data;
|
||||
if (!ast_is_void(child))
|
||||
ret = execution(child, vars);
|
||||
cur = cur->next;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue