projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
114b9b2
)
Silence an uninitialize variable warning
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 14 Jun 2011 13:44:45 +0000
(09:44 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 14 Jun 2011 13:44:45 +0000
(09:44 -0400)
gio/xdgmime/xdgmimeparent.c
patch
|
blob
|
history
diff --git
a/gio/xdgmime/xdgmimeparent.c
b/gio/xdgmime/xdgmimeparent.c
index
577b49f
..
6c4cde0
100644
(file)
--- a/
gio/xdgmime/xdgmimeparent.c
+++ b/
gio/xdgmime/xdgmimeparent.c
@@
-111,6
+111,7
@@
_xdg_mime_parent_list_lookup (XdgParentList *list,
{
key.mime = (char *)mime;
key.parents = NULL;
+ key.n_parents = 0;
entry = bsearch (&key, list->parents, list->n_mimes,
sizeof (XdgMimeParents), &parent_entry_cmp);