From: Jacques Germishuys Date: Tue, 20 Jan 2015 21:24:32 +0000 (+0200) Subject: Remove logically dead code (we're already asserting) X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=526182d28c42bba3ae6b16940438d800f99285d5;p=libgit2.git Remove logically dead code (we're already asserting) --- diff --git a/src/repository.c b/src/repository.c index 0cf8eb66b..f49a25124 100644 --- a/src/repository.c +++ b/src/repository.c @@ -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;