diff options
author | Job Snijders <job@cvs.openbsd.org> | 2021-10-10 21:57:44 +0000 |
---|---|---|
committer | Job Snijders <job@cvs.openbsd.org> | 2021-10-10 21:57:44 +0000 |
commit | da11a489304bc680e562ab6715547a9c404176a3 (patch) | |
tree | 9dfecbaa7ee3b7f59a7b4651a2ab6037a2263f15 /usr.sbin/rpki-client/main.c | |
parent | 08e21dfd97206741049e7ad225ef60e6c6139e28 (diff) |
Make style consistent and remove an unused code path
OK tb@
Diffstat (limited to 'usr.sbin/rpki-client/main.c')
-rw-r--r-- | usr.sbin/rpki-client/main.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/rpki-client/main.c b/usr.sbin/rpki-client/main.c index 8ebaaa5c800..2213765cf93 100644 --- a/usr.sbin/rpki-client/main.c +++ b/usr.sbin/rpki-client/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.146 2021/10/05 11:20:46 job Exp $ */ +/* $OpenBSD: main.c,v 1.147 2021/10/10 21:57:43 job Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -627,7 +627,7 @@ main(int argc, char *argv[]) { int rc, c, st, proc, rsync, http, rrdp, ok, hangup = 0, fl = SOCK_STREAM | SOCK_CLOEXEC; - size_t i, id, outsz = 0, talsz = 0; + size_t i, id, talsz = 0; pid_t pid, procpid, rsyncpid, httppid, rrdppid; int fd[2]; struct pollfd pfd[NPFD]; @@ -1176,10 +1176,6 @@ main(int argc, char *argv[]) /* Memory cleanup. */ repo_free(); - for (i = 0; i < outsz; i++) - roa_free(out[i]); - free(out); - return rc; usage: |