Mercurial > octave
changeset 28952:351f6eb2aba5
maint: Don't declare nargin in C++ files if it is used only once.
* __ode15__.cc: Don't declare nargin used only once.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 17 Oct 2020 02:13:39 -0700 |
parents | 31ba0bd72da2 |
children | dff830c84726 |
files | libinterp/dldfcn/__ode15__.cc |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/dldfcn/__ode15__.cc Sat Oct 17 01:30:30 2020 -0700 +++ b/libinterp/dldfcn/__ode15__.cc Sat Oct 17 02:13:39 2020 -0700 @@ -1234,9 +1234,7 @@ #if defined (HAVE_SUNDIALS) // Check number of parameters - octave_idx_type nargin = args.length (); - - if (nargin != 5) + if (args.length () != 5) print_usage (); // Check odefun