diff libinterp/dldfcn/dmperm.cc @ 20818:cef0448a6ed2

eliminate unnecessary uses of nargin * __glpk__.cc, chol.cc, dmperm.cc, qr.cc, symrcm.cc, ov-cell.cc, ov-fcn-handle.cc, ov-fcn-inline.cc, ov-null-mat.cc, ov-struct.cc, ov-type-conv.h, ov-usr-fcn.cc, oct-parse.in.yy, pt-misc.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:26:03 -0500
parents d9ca869ca124
children 1142cf6abc0d
line wrap: on
line diff
--- a/libinterp/dldfcn/dmperm.cc	Mon Dec 07 09:32:33 2015 -0800
+++ b/libinterp/dldfcn/dmperm.cc	Mon Dec 07 13:26:03 2015 -0500
@@ -154,9 +154,8 @@
 @end deftypefn")
 {
   octave_value_list retval;
-  int nargin = args.length ();
 
-  if (nargin != 1)
+  if (args.length () != 1)
     print_usage ();
 
 #if HAVE_CXSPARSE
@@ -200,9 +199,8 @@
 @end deftypefn")
 {
   octave_value_list retval;
-  int nargin = args.length ();
 
-  if (nargin != 1)
+  if (args.length () != 1)
     print_usage ();
 
 #if HAVE_CXSPARSE