]> granicus.if.org Git - graphviz/commitdiff
gvpr: remove unused 'uopts' parameter from 'scanArgs'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 16 May 2022 04:42:45 +0000 (21:42 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 24 May 2022 03:23:52 +0000 (20:23 -0700)
lib/gvpr/gvpr.c

index b869456acbf7a5dffc96dca81308c1ea5e420859..69abbcc1bfe071ed4d68f772dc389a40d453c084 100644 (file)
@@ -379,8 +379,7 @@ freeOpts (options* opts)
 /* scanArgs:
  * Parse command line options.
  */
-static options* scanArgs(int argc, char **argv, gvpropts* uopts)
-{
+static options* scanArgs(int argc, char **argv) {
     int i, nfiles;
     char** input_filenames;
     char* arg;
@@ -942,7 +941,7 @@ int gvpr (int argc, char *argv[], gvpropts * uopts)
        if (uopts->err) setDisc (sfstderr, &errdisc, uopts->err);
     }
 
-    opts = scanArgs(argc, argv, uopts);
+    opts = scanArgs(argc, argv);
     if (opts->state <= 0) {
        rv = opts->state;
        goto finish;