Skip to content

Commit

Permalink
Avoid some used-once warnings
Browse files Browse the repository at this point in the history
Fixes #52
  • Loading branch information
shawnlaffan committed Jun 11, 2024
1 parent 447cd34 commit 1c144d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/Geo/GDAL/FFI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1820,6 +1820,12 @@ BEGIN {
$instance = Geo::GDAL::FFI->new($gdal);
}

{
# avoid some used only once warnings
local $FFI::Platypus::keep;
local $FFI::Platypus::TypeParser::ffi_type;
}

1;

=pod
Expand Down

0 comments on commit 1c144d7

Please sign in to comment.