diff libinterp/corefcn/rcond.cc @ 20819:f428cbe7576f

eliminate unnecessary uses of nargin * __dsearchn__.cc, betainc.cc, bsxfun.cc, data.cc, debug.cc, det.cc, dot.cc, error.cc, file-io.cc, givens.cc, graphics.cc, hess.cc, hex2num.cc, input.cc, inv.cc, mgorth.cc, ordschur.cc, pr-output.cc, profiler.cc, rcond.cc, regexp.cc, sqrtm.cc, sub2ind.cc, sylvester.cc, syscalls.cc, sysdep.cc, tsearch.cc, urlwrite.cc, utils.cc, variables.cc: Don't use nargin variable unless it is used more than once.
author John W. Eaton <jwe@octave.org>
date Mon, 07 Dec 2015 13:54:01 -0500
parents 8bb38ba1bad6
children 1142cf6abc0d
line wrap: on
line diff
--- a/libinterp/corefcn/rcond.cc	Mon Dec 07 13:26:03 2015 -0500
+++ b/libinterp/corefcn/rcond.cc	Mon Dec 07 13:54:01 2015 -0500
@@ -47,9 +47,7 @@
 {
   octave_value retval;
 
-  int nargin = args.length ();
-
-  if (nargin != 1)
+  if (args.length () != 1)
     print_usage ();
 
   if (args(0).is_sparse_type ())