From: René Stadler Date: Thu, 30 Sep 2010 10:12:30 +0000 (+0300) Subject: tags: fix unused function warning with debug disabled X-Git-Tag: 1.19.3~511^2~8003 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=78b2ab608bf4b443e333caf3e809fdfa222a3966;p=platform%2Fupstream%2Fgstreamer.git tags: fix unused function warning with debug disabled --- 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 @@ * */ +#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)