From 301a25303f260eb026c2e8f1251d742c326d332e Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Fri, 27 Jun 2008 12:21:53 +0100 Subject: [PATCH] Remove useless assertion --- tgt-vhdl/scope.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/tgt-vhdl/scope.cc b/tgt-vhdl/scope.cc index 2642648e5..85dc3ccd3 100644 --- a/tgt-vhdl/scope.cc +++ b/tgt-vhdl/scope.cc @@ -426,7 +426,6 @@ int draw_function(ivl_scope_t scope, ivl_scope_t parent) draw_stmt(func, func->get_container(), ivl_scope_def(scope)); - assert(func); ent->get_arch()->get_scope()->add_decl(func); return 0; }