Commit a8e34fc3 authored by Mike Hibler's avatar Mike Hibler

Undefined variable avoidance.

parent 2472e72a
......@@ -358,7 +358,9 @@ sub Aggregate($$)
$sum{$key} += $counts->{$key};
}
}
$aggref->{$sw1}->{$sw2} = \%sum;
if (keys(%sum) > 0) {
$aggref->{$sw1}->{$sw2} = \%sum;
}
}
}
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment