Commit d699424c authored by Moritz Lipp's avatar Moritz Lipp

Add missing field initializer

parent 71a332ed
......@@ -108,7 +108,7 @@ zathura_link_target_t
zathura_link_get_target(zathura_link_t* link)
{
if (link == NULL) {
zathura_link_target_t target = { 0 };
zathura_link_target_t target = { 0, NULL, 0, 0, 0, 0, 0, 0 };
return target;
}
......
......@@ -400,6 +400,6 @@ zathura_plugin_get_version(zathura_plugin_t* plugin)
return plugin->version;
}
zathura_plugin_version_t version = { 0 };
zathura_plugin_version_t version = { 0, 0, 0 };
return version;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment