Silence an uninitialize variable warning

This commit is contained in:
Matthias Clasen 2011-06-14 09:44:45 -04:00 committed by Emmanuel Fleury
parent 14e46ca288
commit e7822bd303

View File

@ -111,6 +111,7 @@ _xdg_mime_parent_list_lookup (XdgParentList *list,
{ {
key.mime = (char *)mime; key.mime = (char *)mime;
key.parents = NULL; key.parents = NULL;
key.n_parents = 0;
entry = bsearch (&key, list->parents, list->n_mimes, entry = bsearch (&key, list->parents, list->n_mimes,
sizeof (XdgMimeParents), &parent_entry_cmp); sizeof (XdgMimeParents), &parent_entry_cmp);