Commit c990c044 authored by Ludovic Ferrandis's avatar Ludovic Ferrandis Committed by Jens Georg
Browse files

Variable might be used uninitialized.

https://bugzilla.gnome.org/show_bug.cgi?id=704094
parent 9580ae02
......@@ -751,10 +751,12 @@ gupnp_device_info_get_icon_url (GUPnPDeviceInfo *info,
icon = icon_parse (info, element);
if (requested_mime_type) {
if (icon->mime_type)
mime_type_ok = !strcmp (
requested_mime_type,
(char *) icon->mime_type);
if (icon->mime_type)
mime_type_ok = !strcmp (
requested_mime_type,
(char *) icon->mime_type);
else
mime_type_ok = FALSE;
} else
mime_type_ok = TRUE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment