From: Matthew Fernandez Date: Sat, 9 Apr 2022 17:48:20 +0000 (-0700) Subject: gvmap: remove unused 'plot_label' X-Git-Tag: 4.0.0~55^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b7c4c3e7b27d9f4618019671356efdf465de37a;p=graphviz gvmap: remove unused 'plot_label' --- diff --git a/cmd/gvmap/gvmap.c b/cmd/gvmap/gvmap.c index 33dd80f72..1f90c6b06 100644 --- a/cmd/gvmap/gvmap.c +++ b/cmd/gvmap/gvmap.c @@ -46,7 +46,6 @@ typedef struct { double line_width; char *color_scheme_str; const char *opacity; - char *plot_label; int improve_contiguity_n; int nart; bool color_optimize; @@ -164,7 +163,6 @@ init(int argc, char **argv, params_t* pm) pm->show_points = 0; pm->color_scheme = COLOR_SCHEME_PASTEL; pm->line_width = 0; - pm->plot_label = NULL; pm->improve_contiguity_n = 0; pm->nart = -1; pm->color_optimize = true; @@ -294,8 +292,7 @@ init(int argc, char **argv, params_t* pm) } break; case 'l': - free (pm->plot_label); - pm->plot_label = strdup (optarg); + // ignored break; case ':': fprintf(stderr, "gvpack: option -%c missing argument - ignored\n", optopt);