diff src/variables.cc @ 3935:1ea29376e43e

[project @ 2002-05-16 05:30:51 by jwe]
author jwe
date Thu, 16 May 2002 05:30:51 +0000
parents f9ea3dcf58ee
children cef0ea4d1b3a
line wrap: on
line diff
--- a/src/variables.cc	Wed May 15 19:18:09 2002 +0000
+++ b/src/variables.cc	Thu May 16 05:30:51 2002 +0000
@@ -285,8 +285,14 @@
 
   int parse_status;
 
+  unwind_protect_str (Vwarning_option);
+
+  Vwarning_option = "off";
+
   octave_value tmp = eval_string (prefix, true, parse_status);
 
+  unwind_protect::run ();
+
   if (tmp.is_defined () && tmp.is_map ())
     names = tmp.map_keys ();