diff src/variables.cc @ 9445:c5f03874ea2a

simplify symbol_table::find and associated functions
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 22 Jul 2009 11:41:41 +0200 (2009-07-22)
parents 17af7cce7d1b
children c58b8960c7d0
line wrap: on
line diff
--- a/src/variables.cc
+++ b/src/variables.cc
@@ -395,11 +395,7 @@
   // name that is visible in the current scope will be in the local
   // symbol table.
 
-  octave_value_list evaluated_args;
-  bool args_evaluated = false;
-
-  octave_value val = symbol_table::find (symbol_name, 0, string_vector (),
-					 evaluated_args, args_evaluated);
+  octave_value val = symbol_table::find (symbol_name);
 
   if (val.is_defined ())
     {