Skip to content

Commit

Permalink
avoid uninitialised value warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Sep 18, 2024
1 parent d7a428c commit 34defd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PDL/Graphics/Gnuplot.pm
Original file line number Diff line number Diff line change
Expand Up @@ -7272,7 +7272,7 @@ sub _killGnuplot {
$z = waitpid($goner,0);

} else {
_printGnuplotPipe($this,$suffix,"set term qt 0 close\n") if $this->{terminal} eq 'qt';
_printGnuplotPipe($this,$suffix,"set term qt 0 close\n") if ($this->{terminal}//'') eq 'qt';
_printGnuplotPipe($this,$suffix,"exit\n");

# Give it 2 seconds to quit, then interrupt it again.
Expand Down

0 comments on commit 34defd2

Please sign in to comment.