From: Michael Wallner Date: Fri, 13 Oct 2017 08:12:22 +0000 (+0200) Subject: decl_var: fix fqn X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=f4bc73294ddd9f00ba656a8cf81593f83fbcadba;p=m6w6%2Fext-psi decl_var: fix fqn --- diff --git a/src/types/decl_var.c b/src/types/decl_var.c index 236ccfc..680d7a1 100644 --- a/src/types/decl_var.c +++ b/src/types/decl_var.c @@ -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)) {