From 65f4d33d9b5ee80ef768c0479a6782807b18e518 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 4 Jul 2011 10:24:19 +0200 Subject: selftest: eliminate a perl warning In perl, %binary_mapping should be initialized as a hash, not a hash reference. --- selftest/selftest.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'selftest/selftest.pl') diff --git a/selftest/selftest.pl b/selftest/selftest.pl index af45c718de..12c4b33445 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -463,7 +463,7 @@ if ($opt_socket_wrapper) { my $target; my $testenv_default = "none"; -my %binary_mapping = {}; +my %binary_mapping = (); if ($opt_binary_mapping) { my @binmapping_list = split(/,/, $opt_binary_mapping); foreach my $mapping (@binmapping_list) { -- cgit