mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 13:35:59 +01:00
Add missing field initializer
This commit is contained in:
parent
71a332ede8
commit
d699424cbe
2 changed files with 2 additions and 2 deletions
2
links.c
2
links.c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
plugin.c
2
plugin.c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue