From: Bernd Bleßmann Date: Fri, 16 Aug 2013 14:58:11 +0000 (+0200) Subject: Code-Vereinfachung: Unnötige Variable weglassen. X-Git-Tag: release-3.1.0beta1~22^2~135 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=048a6eb734688cb4bc67ac24df8b96ec75cdce09;p=kivitendo-erp.git Code-Vereinfachung: Unnötige Variable weglassen. --- diff --git a/SL/Helper/Csv/Dispatcher.pm b/SL/Helper/Csv/Dispatcher.pm index 230ac2b42..a744892c1 100644 --- a/SL/Helper/Csv/Dispatcher.pm +++ b/SL/Helper/Csv/Dispatcher.pm @@ -108,12 +108,10 @@ sub parse_profile { my $profile; my $class; - my $header; my @specs; my $i = 0; - foreach my $h (@{ $self->_csv->header }) { - $header = $h; + foreach my $header (@{ $self->_csv->header }) { if ($self->_csv->profile) { $profile = $self->_csv->profile->[$i]->{profile}; $class = $self->_csv->profile->[$i]->{class};