Bug 15258: Fix Perl scripts declaring unused variables
[koha-equinox.git] / Koha / Template / Plugin / Price.pm
index 807f301..44f7cd8 100644 (file)
@@ -29,7 +29,6 @@ sub filter {
     my ( $self, $value, $args, $config ) = @_;
     $value ||= 0;
     $config->{on_editing} //= 0;
-    my $formatted_price;
     return $config->{on_editing}
         ? Koha::Number::Price->new( $value )->format_for_editing
         : Koha::Number::Price->new( $value )->format;