mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
Fix missing initializer warning in gio/gcontenttype.c:load_comment_for_mime_helper()
gio/gcontenttype.c: In function ‘load_comment_for_mime_helper’: gio/gcontenttype.c:409:3: error: missing initializer for field ‘passthrough’ of ‘GMarkupParser’ {aka ‘struct _GMarkupParser’} 409 | }; | ^
This commit is contained in:
parent
ae1eebb2e9
commit
f12f008699
@ -405,7 +405,9 @@ load_comment_for_mime_helper (const char *dir,
|
||||
GMarkupParser parser = {
|
||||
mime_info_start_element,
|
||||
mime_info_end_element,
|
||||
mime_info_text
|
||||
mime_info_text,
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
filename = g_build_filename (dir, basename, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user