Need to clear ignored error from config load

This commit is contained in:
Russell Belfer 2012-11-20 14:50:36 -08:00
parent cc6b4162de
commit 38f7d026dc

View File

@ -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;