mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-23 07:31:36 +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(
|
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)
|
if (error < 0)
|
||||||
return error;
|
return error;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user