summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-14 10:42:03 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-14 10:42:03 -0700
commit17cd83259313b16a0ef27bf94a09612be8fece96 (patch)
treef225538ddaf29665168e765509d3a1c52366b677
parent6031bdeb50c8e919227cfea2ac573b8a4af7e0a4 (diff)
downloadvyatta-cfg-qos-17cd83259313b16a0ef27bf94a09612be8fece96.tar.gz
vyatta-cfg-qos-17cd83259313b16a0ef27bf94a09612be8fece96.zip
remove unused uninitialized variable
One of the parameters to TrafficShaper::_define was not being passed or used.
-rw-r--r--scripts/VyattaQosTrafficShaper.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/VyattaQosTrafficShaper.pm b/scripts/VyattaQosTrafficShaper.pm
index de6bb57..5d96249 100644
--- a/scripts/VyattaQosTrafficShaper.pm
+++ b/scripts/VyattaQosTrafficShaper.pm
@@ -50,7 +50,7 @@
}
sub _define {
- my ( $self, $config, $id ) = @_;
+ my ( $self, $config ) = @_;
my $level = $config->setLevel();
my @matches = ();