# HG changeset patch # User jwe # Date 796949920 0 # Node ID da56532815eed3b0618c01f446d5afa117b0a16e # Parent 1f5ff647c7ab542f9835c8ef85b63d0813f7f502 [project @ 1995-04-03 22:58:38 by jwe] diff --git a/src/pt-plot.cc b/src/pt-plot.cc --- a/src/pt-plot.cc +++ b/src/pt-plot.cc @@ -497,7 +497,6 @@ qualifier_count = 0; x[0] = x[1] = x[2] = x[3] = 0; scanf_fmt = 0; - have_values = 0; } subplot_using::subplot_using (tree_expression *fmt) : val (4, -1) @@ -505,7 +504,6 @@ qualifier_count = 0; x[0] = x[1] = x[2] = x[3] = 0; scanf_fmt = fmt; - have_values = 0; } subplot_using::~subplot_using (void) @@ -538,9 +536,6 @@ || (ndim == 3 && qualifier_count > 3)) return -1; - if (have_values) - return 1; - if (qualifier_count > 0) val.resize (qualifier_count); @@ -589,8 +584,6 @@ if (scanf_fmt) warning ("ignoring scanf format in plot command"); - have_values = 1; - return 0; } @@ -599,7 +592,7 @@ { int status = eval (ndim, n_max); - if (status < 0 || ! have_values) + if (status < 0) return -1; return val; @@ -610,7 +603,7 @@ { int status = eval (ndim, n_max); - if (status < 0 || ! have_values) + if (status < 0) return -1; for (int i = 0; i < qualifier_count; i++) diff --git a/src/pt-plot.h b/src/pt-plot.h --- a/src/pt-plot.h +++ b/src/pt-plot.h @@ -128,7 +128,6 @@ int qualifier_count; tree_expression *x[4]; tree_expression *scanf_fmt; - int have_values; ColumnVector val; };