From: Matthew Fernandez Date: Sun, 7 Nov 2021 01:05:47 +0000 (-0700) Subject: fdp_extra_args: remove unused 'gvc' parameter X-Git-Tag: 2.50.0~39^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55044edfa26c767f303e71d5a8f320e27d40c55f;p=graphviz fdp_extra_args: remove unused 'gvc' parameter --- diff --git a/lib/common/args.c b/lib/common/args.c index bbb7cf137..9f8ee70fa 100644 --- a/lib/common/args.c +++ b/lib/common/args.c @@ -233,9 +233,7 @@ setFDPAttr (char* arg) * These have the form -L=. * Return number of unprocessed arguments; return < 0 on error. */ -static int -fdp_extra_args (GVC_t *gvc, int argc, char** argv) -{ +static int fdp_extra_args(int argc, char** argv) { char** p = argv+1; int i; char* arg; @@ -268,7 +266,7 @@ int gvParseArgs(GVC_t *gvc, int argc, char** argv) int rv; if ((argc = neato_extra_args(argc, argv)) < 0) return (1-argc); - if ((argc = fdp_extra_args(gvc, argc, argv)) < 0) + if ((argc = fdp_extra_args(argc, argv)) < 0) return (1-argc); if ((argc = memtest_extra_args(argc, argv)) < 0) return (1-argc);