commit - c24a47af52b39b747392e71487cf59ca2ce4cdb8
commit + 7a61761f598f1d4347c2e359e1733bb0aa109ab3
blob - edbcc7342bcb01d006c2e0688e8f5674d0e891b7
blob + 0a75e4510c09141eba3ee6efeb75cd8de0177b7f
--- got/got.c
+++ got/got.c
char *proto = NULL, *host = NULL, *port = NULL;
char *repo_name = NULL, *server_path = NULL;
const struct got_remote_repo *remotes, *remote = NULL;
- int nremotes, nbranches = 0, ntags = 0, ndelete_branches = 0;
+ int nremotes, nbranches = 0, ndelete_branches = 0;
struct got_repository *repo = NULL;
struct got_worktree *worktree = NULL;
const struct got_gotconfig *repo_conf = NULL, *worktree_conf = NULL;
error = got_pathlist_append(&tags, optarg, NULL);
if (error)
return error;
- ntags++;
break;
case 'T':
send_all_tags = 1;
tagname, NULL);
if (error)
goto done;
- ntags++;
}
}
blob - bd881b3a8d3258eb89eb6658259779307c9087d8
blob + 3f930a7220e7a5403eeafb5e3c5ceaee7636551f
--- lib/sigs.c
+++ lib/sigs.c
#endif
const struct got_error *
-got_sigs_apply_unveil()
+got_sigs_apply_unveil(void)
{
if (unveil(GOT_TAG_PATH_SSH_KEYGEN, "x") != 0) {
return got_error_from_errno2("unveil",