diff src/pt-plot.cc @ 1203:da56532815ee

[project @ 1995-04-03 22:58:38 by jwe]
author jwe
date Mon, 03 Apr 1995 22:58:40 +0000
parents b6360f2d4fa6
children 12ecc2ecf0e3
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++)