Skip to content

Commit bd7bdba

Browse files
authored
Merge pull request #128 from dveeden/unused_parameter
Fix unused parameter warnings
2 parents b13fc4f + 8043ecf commit bd7bdba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DBI.xs

+2-2
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ static MGVTBL dbi_ima_vtbl = { 0, 0, 0, 0, dbi_ima_free,
247247
#endif
248248
};
249249

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

19491949
int
1950-
sql_type_cast_svpv(pTHX_ SV *sv, int sql_type, U32 flags, void *v)
1950+
sql_type_cast_svpv(pTHX_ SV *sv, int sql_type, U32 flags, PERL_UNUSED_DECL void *v)
19511951
{
19521952
int cast_ok = 0;
19531953
int grok_flags;

0 commit comments

Comments
 (0)