tag: fix some warnings in mklicensestables

https://bugzilla.gnome.org/show_bug.cgi?id=774878
This commit is contained in:
Scott D Phillips 2016-11-22 21:12:23 -08:00 committed by Sebastian Dröge
parent b68d9bbe43
commit c2dd0149c9

View file

@ -137,6 +137,7 @@ ref_to_jurisdiction (const gchar * ref)
bit <<= 1; bit <<= 1;
} }
g_error ("Unknown jurisdiction '%s'\n", ref); g_error ("Unknown jurisdiction '%s'\n", ref);
return JURISDICTION_GENERIC;
} }
typedef enum typedef enum
@ -789,8 +790,8 @@ main (int argc, char **argv)
/* no source license */ /* no source license */
if (license->titles == NULL) if (license->titles == NULL)
g_error ("License has no titles: %s\n", license->ref); g_error ("License has no titles: %s\n", license->ref);
if (license->descriptions == NULL); if (license->descriptions == NULL)
g_printerr ("License %s has no descriptions!\n", license->ref); g_printerr ("License %s has no descriptions!\n", license->ref);
} }
} }