On Sun, Nov 17, 2019 at 10:12:15PM +0100, Kristaps Dzonsons wrote:
> This removes some unused variables from the output files.
Indeed, OK claudio@
> ? remove-unused-variables.patch
> Index: output-bird.c
> ===================================================================
> RCS file: /cvs/src/usr.sbin/rpki-client/output-bird.c,v
> retrieving revision 1.1
> diff -u -p -u -r1.1 output-bird.c
> --- output-bird.c 16 Oct 2019 17:43:29 -0000 1.1
> +++ output-bird.c 17 Nov 2019 20:58:47 -0000
> @@ -25,7 +25,6 @@ output_bird(FILE *out, struct vrp_tree *
> {
> char buf[64];
> struct vrp *v;
> - int first = 1;
>
> fprintf(out, "roa table %s {\n", tablename);
>
> Index: output-csv.c
> ===================================================================
> RCS file: /cvs/src/usr.sbin/rpki-client/output-csv.c,v
> retrieving revision 1.1
> diff -u -p -u -r1.1 output-csv.c
> --- output-csv.c 16 Oct 2019 17:43:29 -0000 1.1
> +++ output-csv.c 17 Nov 2019 20:58:47 -0000
> @@ -25,7 +25,6 @@ output_csv(FILE *out, struct vrp_tree *v
> {
> char buf[64];
> struct vrp *v;
> - int first = 1;
>
> fprintf(out, "ASN,IP Prefix,Max Length,Trust Anchor\n");
>
--
:wq Claudio