Remove logically dead code (we're already asserting)

This commit is contained in:
Jacques Germishuys 2015-01-20 23:24:32 +02:00
parent 2136240dbd
commit 526182d28c

View File

@ -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;