Fix Ubuntu 18 warnings.

This commit is contained in:
Wilson Snyder 2018-08-24 18:47:38 -04:00
parent 8f838433df
commit 789917cd06
2 changed files with 1 additions and 1 deletions

View File

@ -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);

View File

@ -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<V3GraphEdge*> edges;
for (V3GraphVertex* vxp = mtasksp->verticesBeginp();
vxp; vxp = vxp->verticesNextp()) {
for (V3GraphEdge* edgep = vxp->outBeginp();