]> granicus.if.org Git - graphviz/commitdiff
remove duplicate -n processing code that was not being used
authorellson <devnull@localhost>
Mon, 16 Jan 2006 22:26:10 +0000 (22:26 +0000)
committerellson <devnull@localhost>
Mon, 16 Jan 2006 22:26:10 +0000 (22:26 +0000)
lib/common/input.c

index 539dbeef65419b01de25c55478df219d7d190eb9..980ebf14c2ebe1e8ebdc6e1046f0fdf766231092 100644 (file)
@@ -242,18 +242,6 @@ void dotneato_args_initialize(GVC_t * gvc, int argc, char **argv)
                }
                use_library(val);
                break;
-           case 'n':
-               if (*rest) {
-                   Nop = atoi(rest);
-                   if (Nop <= 0) {
-                       fprintf(stderr,
-                               "Invalid parameter \"%s\" for -n flag\n",
-                               rest);
-                       dotneato_usage(1);
-                   }
-               } else
-                   Nop = 1;
-               break;
            case 'o':
                val = getFlagOpt(argc, argv, &i);
                gvrender_output_filename_job(gvc, val);