Skip to content

Commit

Permalink
zap unused vars/imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Apr 11, 2024
1 parent 2bbaf0d commit 9952d7d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions lib/PDL/Graphics/Simple/PLplot.pm
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ sub new {
my $opt_in = shift;
my $opt = { iparse( $new_defaults, $opt_in ) };

my $pgw;

# Force a recheck on failure, in case the user fixed PLplot.
unless(check()) {
die "$mod->{shortname} appears nonfunctional: $mod->{msg}\n" unless(check(1));
Expand Down Expand Up @@ -395,8 +393,6 @@ sub plot {

$me->{obj}->close if($me->{opt}->{type} =~ m/^f/i and !defined($me->{opt}->{multi}));

my $file = ( ($me->{conv_fn}) ? $me->{conv_fn} : $me->{output} );

if($me->{conv_fn}) {
$a = rim($me->{conv_fn});
wim($a->mv(1,0)->slice(':,-1:0:-1'), $me->{opt}->{output});
Expand Down
1 change: 0 additions & 1 deletion t/simple.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use strict;
use warnings;
use PDL::Graphics::Simple;
use Test::More;
use File::Temp q/tempfile/;
use PDL;
use PDL::Constants qw(PI);

Expand Down

0 comments on commit 9952d7d

Please sign in to comment.