Remove redundant test

Signal is guaranteed to appear in arch_scope or its parent
by the surrounding `if' statement.
This commit is contained in:
Nick Gasson 2008-07-13 15:27:07 +01:00
parent 07c4ff7ea7
commit 78ee61558d
1 changed files with 0 additions and 3 deletions

View File

@ -68,9 +68,6 @@ static vhdl_expr *nexus_to_expr(vhdl_scope *arch_scope, ivl_nexus_t nexus,
const char *signame = get_renamed_signal(sig).c_str();
vhdl_decl *decl = arch_scope->get_decl(signame);
if (NULL == decl)
continue; // Not in this scope
vhdl_type *type = new vhdl_type(*(decl->get_type()));
return new vhdl_var_ref(signame, type);
}