Factor out some code that needed to clear errors
A number of places were looking up option config values and then not clearing the error codes if the values were not found. This moves the repeated pattern into a shared routine and adds the extra call to giterr_clear() when needed.
Showing
Please
register
or
sign in
to comment