mirror of
https://git.proxmox.com/git/libgit2
synced 2025-09-17 21:22:15 +00:00
Need to clear ignored error from config load
This commit is contained in:
parent
cc6b4162de
commit
38f7d026dc
@ -489,6 +489,8 @@ static int load_config(
|
|||||||
error != GIT_ENOTFOUND)
|
error != GIT_ENOTFOUND)
|
||||||
goto on_error;
|
goto on_error;
|
||||||
|
|
||||||
|
giterr_clear(); /* clear any lingering ENOTFOUND errors */
|
||||||
|
|
||||||
*out = cfg;
|
*out = cfg;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user