Commit 5ffd510d by nulltoken

refs: remove seemingly useless giterr_clear() call

parent 33c33707
......@@ -1409,8 +1409,6 @@ int git_reference_rename(git_reference *ref, const char *new_name, int force)
if ((git_reference_has_log(ref)) && (git_reflog_rename(ref, new_name) < 0))
goto cleanup;
giterr_clear();
/*
* Change the name of the reference given by the user.
*/
......
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