70_XBMC.pm: fixed warning

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@9973 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
vbs2
2015-11-22 16:30:24 +00:00
parent 815e549693
commit cac5576782

View File

@@ -658,7 +658,7 @@ sub XBMC_ProcessResponse($$)
my $players = $obj->{result}; my $players = $obj->{result};
if (ref($players) ne "ARRAY") { if (ref($players) ne "ARRAY") {
my $keys = ""; my $keys = "";
while ((my $k, my $v) = each $hash->{PendingPlayerCMDs} ) { while ((my $k, my $v) = each %$hash->{PendingPlayerCMDs} ) {
$keys .= ",$k"; $keys .= ",$k";
} }
delete $hash->{PendingPlayerCMDs}{$id}; delete $hash->{PendingPlayerCMDs}{$id};