delete unused variable
authorjingui.ren <jingui.ren@samsung.com>
Wed, 23 Jan 2019 05:42:25 +0000 (13:42 +0800)
committerjingui.ren <jingui.ren@samsung.com>
Wed, 23 Jan 2019 05:42:25 +0000 (13:42 +0800)
Change-Id: I92f2947f352601c851309b8aa5bd8d6663246143

depanneur

index f8517e657e5131ecc1c2aec62cdd15a3a280ee06..081f3238c6cb22b070a58f16da7e5290ea631ea2 100755 (executable)
--- 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;