mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-19 17:03:58 +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)
|
||||
goto on_error;
|
||||
|
||||
giterr_clear(); /* clear any lingering ENOTFOUND errors */
|
||||
|
||||
*out = cfg;
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user