From e0e9655f72a4ae6c861f2cce60baf4e6836fd5a0 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Thu, 30 Jun 2016 20:11:16 -0700 Subject: [PATCH] $ex is never used --- mass.cgi | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mass.cgi b/mass.cgi index 53228bd..97c525b 100755 --- a/mass.cgi +++ b/mass.cgi @@ -21,7 +21,6 @@ foreach my $di (@d) { } my $idx = "index.cgi?dom=$dominits[0]->[0]->{'id'}"; -my $ex; if ($in{'delete'}) { # Delete them all foreach my $di (@dominits) { @@ -37,7 +36,7 @@ elsif ($in{'startnow'}) { print &text('start_starting', "$di->[1]->{'name'}"),"\n"; print "
";
-		$ex = &start_domain_action($di->[0], $di->[1]);
+		&start_domain_action($di->[0], $di->[1]);
 		print "
"; } @@ -51,7 +50,7 @@ elsif ($in{'stopnow'}) { print &text('stop_stopping', "$di->[1]->{'name'}"),"\n"; print "
";
-		$ex = &stop_domain_action($di->[0], $di->[1]);
+		&stop_domain_action($di->[0], $di->[1]);
 		print "
"; } @@ -65,7 +64,7 @@ elsif ($in{'restartnow'}) { print &text('restart_restarting', "$di->[1]->{'name'}"),"\n"; print "
";
-		$ex = &restart_domain_action($di->[0], $di->[1]);
+		&restart_domain_action($di->[0], $di->[1]);
 		print "
"; }