Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DLNA-RUI
gupnp
Commits
c990c044
Commit
c990c044
authored
Aug 05, 2013
by
Ludovic Ferrandis
Committed by
Jens Georg
Aug 13, 2013
Browse files
Variable might be used uninitialized.
https://bugzilla.gnome.org/show_bug.cgi?id=704094
parent
9580ae02
Changes
1
Hide whitespace changes
Inline
Side-by-side
libgupnp/gupnp-device-info.c
View file @
c990c044
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment