[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-cvs
Subject:    gst-plugins-base: id3v2frames: Fix compiler warnings
From:       slomo () kemper ! freedesktop ! org (Sebastian Dröge)
Date:       2015-05-30 6:12:24
Message-ID: 20150530061224.ED9F0761E7 () kemper ! freedesktop ! org
[Download RAW message or body]

Module: gst-plugins-base
Branch: master
Commit: 8803ea2d8b81cefc644c10988b7e3b79f87b4015
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=8803ea2d8b81cefc644c10988b7e3b79f87b4015


Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Sat May 30 08:12:03 2015 +0200

id3v2frames: Fix compiler warnings

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 |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/gst-libs/gst/tag/id3v2frames.c b/gst-libs/gst/tag/id3v2frames.c
index f13fe8b..4784238 100644
--- a/gst-libs/gst/tag/id3v2frames.c
+++ b/gst-libs/gst/tag/id3v2frames.c
@@ -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)
 {


[Attachment #3 (text/plain)]

_______________________________________________
gstreamer-commits mailing list
gstreamer-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic