decl_var: fix fqn
authorMichael Wallner <mike@php.net>
Fri, 13 Oct 2017 08:12:22 +0000 (10:12 +0200)
committerMichael Wallner <mike@php.net>
Fri, 13 Oct 2017 08:12:22 +0000 (10:12 +0200)
src/types/decl_var.c

index 236ccfc843f7c9af5abd267e7334dc649a19142f..680d7a172b8963b7ce89049f86acbca835e8741c 100644 (file)
@@ -93,10 +93,6 @@ bool psi_decl_var_validate(struct psi_data *data, struct psi_decl_var *dvar,
        struct psi_let_exp *current_let_exp = let_exp;
        struct psi_set_exp *current_set_exp = set_exp;
 
-       if (dvar->arg) {
-               return true;
-       }
-
        if (current_let_exp) {
                /* walk up the let expression tree until found */
                while ((current_let_exp = current_let_exp->outer)) {