File gstreamer-0_10-plugins-base-missing-return-value.patch of Package gstreamer-0_10-plugins-base.11516
From 45124fd2ea9632a66ba513e466967ff18ece59cc Mon Sep 17 00:00:00 2001
From: Vincent Untz <vuntz@gnome.org>
Date: Tue, 21 Feb 2012 16:43:59 +0100
Subject: [PATCH] tag: xmp: Fix a build warning
Return a value even if the code will never be reached, to make compilers
happy.
https://bugzilla.gnome.org/show_bug.cgi?id=670548
---
common | 2 +-
gst-libs/gst/tag/gstxmptag.c | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/gst-libs/gst/tag/gstxmptag.c b/gst-libs/gst/tag/gstxmptag.c
index 1fb7f39..28ed9d1 100644
--- a/gst-libs/gst/tag/gstxmptag.c
+++ b/gst-libs/gst/tag/gstxmptag.c
@@ -175,6 +175,9 @@ xmp_tag_type_get_name (GstXmpTagType tagtype)
default:
g_assert_not_reached ();
}
+
+ /* Make compiler happy */
+ return "";
}
struct _PendingXmpTag
--
1.7.9