diff --git a/elaborate.cc b/elaborate.cc index 38e6dd451..dfb374b70 100644 --- a/elaborate.cc +++ b/elaborate.cc @@ -5050,10 +5050,8 @@ Design* elaborate(listroots) for (unsigned pin = 0; pin < mport.size(); pin += 1) { // This really does more than we need and adds extra // stuff to the design that should be cleaned later. - (void) mport[pin]->elaborate_subport(des, scope); NetNet *netnet = mport[pin]->elaborate_subport(des, scope); - if( netnet != 0 ) - { + if (netnet != 0) { // Elaboration may actually fail with erroneous input source prt_vector_width += netnet->vector_width(); ptype = PortType::merged(netnet->port_type(), ptype);