Fix shadow warning introduced by MVSE 2015 hacks.

This commit is contained in:
Martin Whitaker 2015-08-07 23:05:02 +01:00
parent e98bcb61bb
commit 428f059c58
1 changed files with 2 additions and 2 deletions

View File

@ -2678,8 +2678,8 @@ vector<pform_tf_port_t>*pform_make_task_ports(const struct vlltype&loc,
curw->set_signed(signed_flag);
if (isint) {
bool res = curw->set_wire_type(NetNet::INTEGER);
assert(res);
bool flag = curw->set_wire_type(NetNet::INTEGER);
assert(flag);
}
/* If there is a range involved, it needs to be set. */