Commit Diff


commit - a6da5f6b0dd3ee6b20e16a313792d3618fa5839d
commit + 3b5e1554e5caae9735bd0e242537a2067533c4b3
blob - fb69531b2970591164a171b0a1d1a72f3c97c819
blob + 83bdefe44a5a371473ceafa9f30b6fe84384f9a7
--- lib/patch.c
+++ lib/patch.c
@@ -596,7 +596,7 @@ apply_patch(struct got_worktree *worktree, struct got_
 	const struct got_error *err = NULL;
 	int file_renamed = 0;
 	char *oldpath = NULL, *newpath = NULL;
-	char *tmppath = NULL, *template = NULL, *parent = NULL;;
+	char *tmppath = NULL, *template = NULL, *parent = NULL;
 	FILE *tmp = NULL;
 	mode_t mode = GOT_DEFAULT_FILE_MODE;