Skip to content

Commit

Permalink
Use PERL_UNUSED_ARG
Browse files Browse the repository at this point in the history
  • Loading branch information
voegelas committed Jul 23, 2023
1 parent 1947b9b commit d193af3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions TimeZoneFinder.xs
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ handle_dbf_record(dbf_file_t *fh, const dbf_header_t *header,
const char *s;
size_t len;

PERL_UNUSED_ARG(file_offset);

index = &self->index;

if (dbf_record_is_deleted(record)) {
Expand Down Expand Up @@ -201,6 +203,8 @@ handle_shp_header(shp_file_t *fh, const shp_header_t *header)
Geo__Location__TimeZoneFinder self =
(Geo__Location__TimeZoneFinder) fh->user_data;

PERL_UNUSED_ARG(header);

self->shp_num = 0;

return 1;
Expand All @@ -215,6 +219,8 @@ handle_shp_record(shp_file_t *fh, const shp_header_t *header,
struct index *index;
struct index_entry *entry;

PERL_UNUSED_ARG(header);

index = &self->index;

if (self->shp_num >= index->num_entries) {
Expand Down

0 comments on commit d193af3

Please sign in to comment.