mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 18:08:11 +00:00
Remove logically dead code (we're already asserting)
This commit is contained in:
parent
2136240dbd
commit
526182d28c
@ -1836,7 +1836,7 @@ int git_repository_hashfile(
|
||||
*/
|
||||
|
||||
error = git_path_join_unrooted(
|
||||
&full_path, path, repo ? git_repository_workdir(repo) : NULL, NULL);
|
||||
&full_path, path, git_repository_workdir(repo), NULL);
|
||||
if (error < 0)
|
||||
return error;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user