From 428f059c5807eaf20c347a78682fc7ee432e9b4b Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Fri, 7 Aug 2015 23:05:02 +0100 Subject: [PATCH] Fix shadow warning introduced by MVSE 2015 hacks. --- pform.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pform.cc b/pform.cc index 2b447820e..412c6aea3 100644 --- a/pform.cc +++ b/pform.cc @@ -2678,8 +2678,8 @@ vector*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. */