changeset 1203:da56532815ee

[project @ 1995-04-03 22:58:38 by jwe]
author jwe
date Mon, 03 Apr 1995 22:58:40 +0000
parents 1f5ff647c7ab
children 68d147abe7ca
files src/pt-plot.cc src/pt-plot.h
diffstat 2 files changed, 2 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/pt-plot.cc	Sat Apr 01 00:20:39 1995 +0000
+++ b/src/pt-plot.cc	Mon Apr 03 22:58:40 1995 +0000
@@ -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++)
--- a/src/pt-plot.h	Sat Apr 01 00:20:39 1995 +0000
+++ b/src/pt-plot.h	Mon Apr 03 22:58:40 1995 +0000
@@ -128,7 +128,6 @@
   int qualifier_count;
   tree_expression *x[4];
   tree_expression *scanf_fmt;
-  int have_values;
   ColumnVector val;
 };