Mercurial > hg > octave-shane
changeset 13081:bc6c58d29757
symtab.cc: Fix compile error accidentally introduced.
* symtab.cc (ignore_function_time_stamp): Declare nargin earlier in function.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sat, 03 Sep 2011 14:23:36 -0700 |
parents | 5f86bde27700 |
children | 35c0b722d2e4 |
files | src/symtab.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/symtab.cc +++ b/src/symtab.cc @@ -1463,6 +1463,8 @@ { octave_value retval; + int nargin = args.length (); + if (nargout > 0 || nargin == 0) { switch (Vignore_function_time_stamp) @@ -1481,8 +1483,6 @@ } } - int nargin = args.length (); - if (nargin == 1) { std::string sval = args(0).string_value ();