From 78b2ab608bf4b443e333caf3e809fdfa222a3966 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ren=C3=A9=20Stadler?= Date: Thu, 30 Sep 2010 13:12:30 +0300 Subject: [PATCH] tags: fix unused function warning with debug disabled --- gst-libs/gst/tag/tags.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.7.4