mirror of
https://git.proxmox.com/git/libgit2
synced 2025-07-05 18:32:58 +00:00
Clear local error variable after invoking giterr_clear().
This commit is contained in:
parent
4a4aee1112
commit
b7b1acfdbd
@ -1015,6 +1015,7 @@ static int repo_init_structure(
|
|||||||
/* if template was default, ignore error and use internal */
|
/* if template was default, ignore error and use internal */
|
||||||
giterr_clear();
|
giterr_clear();
|
||||||
external_tpl = false;
|
external_tpl = false;
|
||||||
|
error = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user