open_and_update_audio_file(): Always print file name on errors.
[paraslash.git] / spx_afh.c
index 6414f4c..e693c41 100644 (file)
--- a/spx_afh.c
+++ b/spx_afh.c
@@ -139,7 +139,8 @@ static int spx_get_comments(unsigned char *comments, int length,
 static const char* speex_suffixes[] = {"spx", "speex", NULL};
 
 static int spx_packet_callback(ogg_packet *packet, int packet_num,
-               struct afh_info *afhi, void *private_data)
+               __a_unused int serial, struct afh_info *afhi,
+               void *private_data)
 {
        struct private_spx_data *psd = private_data;
        int ret;