Commit f93beebc by Edward Thomson

filter: don't overwrite error value

parent 036be150
...@@ -206,6 +206,7 @@ int git_filter_global_init(void) ...@@ -206,6 +206,7 @@ int git_filter_global_init(void)
GIT_FILTER_IDENT, ident, GIT_FILTER_IDENT_PRIORITY) < 0) GIT_FILTER_IDENT, ident, GIT_FILTER_IDENT_PRIORITY) < 0)
error = -1; error = -1;
if (!error)
error = git_runtime_shutdown_register(git_filter_global_shutdown); error = git_runtime_shutdown_register(git_filter_global_shutdown);
done: done:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment