Skip to content

Commit 1fa3847

Browse files
authored
Merge pull request #9 from lohedges/fix_8
Don't use unnamed arguments.
2 parents 8d71c74 + 368cfcf commit 1fa3847

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Scan.xs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ _generate_hash(const char *file)
217217
MODULE = Audio::Scan PACKAGE = Audio::Scan
218218

219219
HV *
220-
_scan( char *, char *suffix, PerlIO *infile, SV *path, int filter, int md5_size, int md5_offset )
220+
_scan( char *dummy, char *suffix, PerlIO *infile, SV *path, int filter, int md5_size, int md5_offset )
221221
CODE:
222222
{
223223
taghandler *hdl;
@@ -269,7 +269,7 @@ OUTPUT:
269269
RETVAL
270270

271271
int
272-
_find_frame( char *, char *suffix, PerlIO *infile, SV *path, int offset )
272+
_find_frame( char *dummy, char *suffix, PerlIO *infile, SV *path, int offset )
273273
CODE:
274274
{
275275
taghandler *hdl;
@@ -285,7 +285,7 @@ OUTPUT:
285285
RETVAL
286286

287287
HV *
288-
_find_frame_return_info( char *, char *suffix, PerlIO *infile, SV *path, int offset )
288+
_find_frame_return_info( char *dummy, char *suffix, PerlIO *infile, SV *path, int offset )
289289
CODE:
290290
{
291291
taghandler *hdl = _get_taghandler(suffix);
@@ -309,7 +309,7 @@ OUTPUT:
309309
RETVAL
310310

311311
int
312-
is_supported(char *, SV *path)
312+
is_supported(char *dummy, SV *path)
313313
CODE:
314314
{
315315
char *suffix = strrchr( SvPVX(path), '.' );
@@ -325,7 +325,7 @@ OUTPUT:
325325
RETVAL
326326

327327
SV *
328-
type_for(char *, SV *suffix)
328+
type_for(char *dummy, SV *suffix)
329329
CODE:
330330
{
331331
taghandler *hdl = NULL;
@@ -363,7 +363,7 @@ OUTPUT:
363363
RETVAL
364364

365365
AV *
366-
extensions_for(char *, SV *type)
366+
extensions_for(char *dummy, SV *type)
367367
CODE:
368368
{
369369
int i, j;

0 commit comments

Comments
 (0)