Add missing field initializer

This commit is contained in:
Moritz Lipp 2013-07-26 09:07:05 +02:00
parent 71a332ede8
commit d699424cbe
2 changed files with 2 additions and 2 deletions

View file

@ -108,7 +108,7 @@ zathura_link_target_t
zathura_link_get_target(zathura_link_t* link) zathura_link_get_target(zathura_link_t* link)
{ {
if (link == NULL) { if (link == NULL) {
zathura_link_target_t target = { 0 }; zathura_link_target_t target = { 0, NULL, 0, 0, 0, 0, 0, 0 };
return target; return target;
} }

View file

@ -400,6 +400,6 @@ zathura_plugin_get_version(zathura_plugin_t* plugin)
return plugin->version; return plugin->version;
} }
zathura_plugin_version_t version = { 0 }; zathura_plugin_version_t version = { 0, 0, 0 };
return version; return version;
} }