Fix unused warnings in perl wrappers
This commit is contained in:
parent
624195f313
commit
db54a8d5d1
3 changed files with 5 additions and 2 deletions
|
|
@ -144,9 +144,9 @@ typedef int (*SwigMagicFunc)(struct interpreter *, SV *, MAGIC *);
|
|||
|
||||
# ifdef PERL_OBJECT
|
||||
# define SWIG_croak_null() SWIG_Perl_croak_null(pPerl)
|
||||
static void SWIG_Perl_croak_null(CPerlObj *pPerl)
|
||||
static void SWIGUNUSED SWIG_Perl_croak_null(CPerlObj *pPerl)
|
||||
# else
|
||||
static void SWIG_croak_null()
|
||||
static void SWIGUNUSED SWIG_croak_null()
|
||||
# endif
|
||||
{
|
||||
SV *err = get_sv("@", GV_ADD);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue