Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unused parameter warnings #128

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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