commit - d8473d93ab2c3a6fe1f2d602458543fc5fcaf007
commit + d30ab56fff40b038af410d963b66e866a8e4e528
blob - 39827e91edca9da87bdc0ce98c9a77260b22dd4e
blob + 2d6c882fd2177fc9f0eb55c1384272d072e6e163
--- 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 - 2de1e193e4c5cba31c0fc391b178414c4a5b8d9d
blob + 3800e67fcce500f30b32b4c3590bdf0493827da1
--- 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",