Commit Diff


commit - 61bce19e6ae4329fe5f0a05d33b7bd1510718852
commit + 1b1b91abdb4cd380995e3542580daa8700d93f6f
blob - 2df166b9fc595bdad6395572e7e122cbb2c4b2d1
blob + 7167f541b49d2fddbb5d61d45e13bed060e2d33e
--- lib/patch.c
+++ lib/patch.c
@@ -599,7 +599,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;