diff --git a/bin/verilator_gantt b/bin/verilator_gantt index e1036419d..aeb55a8c0 100755 --- a/bin/verilator_gantt +++ b/bin/verilator_gantt @@ -7,6 +7,7 @@ eval 'exec perl -wS $0 ${1+"$@"}' use strict; use warnings; use Getopt::Long; +use IO::File; use Pod::Usage; use vars qw ($Debug); diff --git a/src/V3Partition.cpp b/src/V3Partition.cpp index ad0ec9d47..1e449f534 100644 --- a/src/V3Partition.cpp +++ b/src/V3Partition.cpp @@ -1018,7 +1018,6 @@ static void partInitCriticalPaths(V3Graph* mtasksp) { // Reset all MTaskEdges so that 'm_edges' will show correct CP numbers. // They would have been all zeroes on initial creation of the MTaskEdges. - std::vector edges; for (V3GraphVertex* vxp = mtasksp->verticesBeginp(); vxp; vxp = vxp->verticesNextp()) { for (V3GraphEdge* edgep = vxp->outBeginp();