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

List:       gstreamer-cvs
Subject:    [gst-cvs] gst-plugins-base: tags: fix unused function warning with
From:       cymacs () kemper ! freedesktop ! org (René Stadler)
Date:       2010-09-30 10:17:30
Message-ID: 20100930101731.0FD3910056 () kemper ! freedesktop ! org
[Download RAW message or body]

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


Author: René Stadler <rene.stadler@nokia.com>
Date:   Thu Sep 30 13:12:30 2010 +0300

tags: fix unused function warning with debug disabled

---

 gst-libs/gst/tag/tags.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gst-libs/gst/tag/tags.c b/gst-libs/gst/tag/tags.c
index 0236a6d..35b0aa1 100644
--- a/gst-libs/gst/tag/tags.c
+++ b/gst-libs/gst/tag/tags.c
@@ -43,6 +43,7 @@
  * </refsect2>
  */
 
+#ifndef GST_DISABLE_GST_DEBUG
 #define GST_CAT_DEFAULT gst_tag_ensure_debug_category()
 
 static GstDebugCategory *
@@ -60,6 +61,7 @@ gst_tag_ensure_debug_category (void)
 
   return (GstDebugCategory *) cat_gonce;
 }
+#endif /* GST_DISABLE_GST_DEBUG */
 
 static gpointer
 gst_tag_register_tags_internal (gpointer unused)



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev

_______________________________________________
gstreamer-cvs mailing list
gstreamer-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs


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

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