From: jingui.ren Date: Wed, 23 Jan 2019 05:42:25 +0000 (+0800) Subject: delete unused variable X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb51f5d48e4724ac2cf284f7ade2483dac27e7e2;p=tools%2Fdepanneur.git delete unused variable Change-Id: I92f2947f352601c851309b8aa5bd8d6663246143 --- diff --git a/depanneur b/depanneur index f8517e6..081f323 100755 --- a/depanneur +++ b/depanneur @@ -210,7 +210,6 @@ my $enable_cluster = 0; # enable cluster building my $max_partitions = 3; # specify max partitions, which is more than or equal to workers my %packages_level = (); # save the level of packages, which are calculated by get_top_order() algorithm my $connection; -my $connection1; my $producer; my $consumer; GetOptions ( @@ -2932,7 +2931,7 @@ if ($enable_cluster == 1) { $producer = Kafka::Producer->new( Connection => $connection ); $consumer = Kafka::Consumer->new( Connection => $connection ); } catch { - dealWithException($_); + dealWithException($_); }; my $cur_level = 0;