Skip to content

Commit

Permalink
Merge pull request #128 from dveeden/unused_parameter
Browse files Browse the repository at this point in the history
Fix unused parameter warnings
  • Loading branch information
Tux authored Aug 27, 2024
2 parents b13fc4f + 8043ecf commit bd7bdba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DBI.xs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ static MGVTBL dbi_ima_vtbl = { 0, 0, 0, 0, dbi_ima_free,
#endif
};

static int dbi_ima_free(pTHX_ SV* sv, MAGIC* mg)
static int dbi_ima_free(pTHX_ SV* sv, PERL_UNUSED_DECL MAGIC* mg)
{
dbi_ima_t *ima = (dbi_ima_t *)(CvXSUBANY((CV*)sv).any_ptr);
#ifdef BROKEN_DUP_ANY_PTR
Expand Down Expand Up @@ -1947,7 +1947,7 @@ quote_type(int sql_type, int p, int s, int *t, void *v)
*/

int
sql_type_cast_svpv(pTHX_ SV *sv, int sql_type, U32 flags, void *v)
sql_type_cast_svpv(pTHX_ SV *sv, int sql_type, U32 flags, PERL_UNUSED_DECL void *v)
{
int cast_ok = 0;
int grok_flags;
Expand Down

0 comments on commit bd7bdba

Please sign in to comment.