id3v2frames: Fix compiler warnings
authorSebastian Dröge <sebastian@centricular.com>
Sat, 30 May 2015 06:12:03 +0000 (08:12 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 30 May 2015 06:12:03 +0000 (08:12 +0200)
id3v2frames.c:951:20: error: unused variable 'utf16enc' [-Werror,-Wunused-const-variable]
static const gchar utf16enc[] = "UTF-16";
                   ^
id3v2frames.c:952:20: error: unused variable 'utf16leenc' [-Werror,-Wunused-const-variable]
static const gchar utf16leenc[] = "UTF-16LE";
                   ^
id3v2frames.c:953:20: error: unused variable 'utf16beenc' [-Werror,-Wunused-const-variable]
static const gchar utf16beenc[] = "UTF-16BE";
                   ^

gst-libs/gst/tag/id3v2frames.c

index f13fe8b..4784238 100644 (file)
@@ -948,10 +948,6 @@ id3v2_genre_fields_to_taglist (ID3TagsWorking * work, const gchar * tag_name,
   return result;
 }
 
-static const gchar utf16enc[] = "UTF-16";
-static const gchar utf16leenc[] = "UTF-16LE";
-static const gchar utf16beenc[] = "UTF-16BE";
-
 static gboolean
 find_utf16_bom (gchar * data, gint * p_data_endianness)
 {