shithub: sox

Download patch

ref: abdbc76688fe0dc7fb74bd9d354fb45f53033036
parent: 0ef04719f745b408cbd12a411e824e93de404a62
author: Doug Cook <idigdoug@users.sourceforge.net>
date: Sat Mar 19 22:30:04 EDT 2011

Fix warning for unused id3tagmap

--- a/src/mp3-util.h
+++ b/src/mp3-util.h
@@ -17,6 +17,8 @@
 
 #include <sys/stat.h>
 
+#ifdef USING_ID3TAG
+
 static char const * id3tagmap[][2] =
 {
   {"TIT2", "Title"},
@@ -29,6 +31,8 @@
   {"TPOS", "Discnumber"},
   {NULL, NULL}
 };
+
+#endif /* USING_ID3TAG */
 
 #if defined(HAVE_LAME)