mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-02 18:10:10 +00:00
refs: remove seemingly useless giterr_clear() call
This commit is contained in:
parent
33c3370700
commit
5ffd510dd2
@ -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.
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user