From c2dd0149c93c2e2433961df40c94d06765b1c0a5 Mon Sep 17 00:00:00 2001 From: Scott D Phillips Date: Tue, 22 Nov 2016 21:12:23 -0800 Subject: [PATCH] tag: fix some warnings in mklicensestables https://bugzilla.gnome.org/show_bug.cgi?id=774878 --- gst-libs/gst/tag/mklicensestables.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/tag/mklicensestables.c b/gst-libs/gst/tag/mklicensestables.c index 87d1205d98..6b73dfc906 100644 --- a/gst-libs/gst/tag/mklicensestables.c +++ b/gst-libs/gst/tag/mklicensestables.c @@ -137,6 +137,7 @@ ref_to_jurisdiction (const gchar * ref) bit <<= 1; } g_error ("Unknown jurisdiction '%s'\n", ref); + return JURISDICTION_GENERIC; } typedef enum @@ -789,8 +790,8 @@ main (int argc, char **argv) /* no source license */ if (license->titles == NULL) g_error ("License has no titles: %s\n", license->ref); - if (license->descriptions == NULL); - g_printerr ("License %s has no descriptions!\n", license->ref); + if (license->descriptions == NULL) + g_printerr ("License %s has no descriptions!\n", license->ref); } }