From 789917cd06274022828e98abd25f9247517a2935 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Fri, 24 Aug 2018 18:47:38 -0400 Subject: [PATCH] Fix Ubuntu 18 warnings. --- bin/verilator_gantt | 1 + src/V3Partition.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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();