From 9db119c7e40d8e4aeef795e2bbf6668e235bf082 Mon Sep 17 00:00:00 2001 From: Stephane Gigandet Date: Tue, 19 Dec 2017 15:23:41 +0100 Subject: [PATCH] fix warning --- lib/ProductOpener/Tags.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ProductOpener/Tags.pm b/lib/ProductOpener/Tags.pm index 60d5dab0a97d8..b4cd864c7913d 100644 --- a/lib/ProductOpener/Tags.pm +++ b/lib/ProductOpener/Tags.pm @@ -974,7 +974,7 @@ sub build_tags_taxonomy($$) { # print STDERR "Tags.pm - load_tags_hierarchy - lc: $lc - tagtype: $tagtype - compute all parents breadth first\n"; - my %longest_parent = {}; + my %longest_parent = (); # foreach my $tagid (keys %{$direct_parents{$tagtype}}) { foreach my $tagid (keys %{$translations_to{$tagtype}}) {