commit 14bbd1f011c021e9782a09bc125cb57c0ad77846 from: Stefan Sperling date: Sun Jan 13 15:59:16 2019 UTC remove redundant goto statement commit - e650241d3aa5b687b4be927bcdc6595a2af7384e commit + 14bbd1f011c021e9782a09bc125cb57c0ad77846 blob - b0d9794ebfc49ab71d20e5bfc73ea9811d5d1bf0 blob + 32d7557a102fd1a6110fea4547611ac17866df7f --- lib/worktree.c +++ lib/worktree.c @@ -666,8 +666,6 @@ install_blob(struct got_worktree *worktree, struct got goto done; err = got_fileindex_entry_add(fileindex, entry); } - if (err) - goto done; done: if (fd != -1) close(fd);