From b7e15afa6fbc05788860b4f95e74d9ea4ba1db56 Mon Sep 17 00:00:00 2001 From: "Daniel R. Reynolds" Date: Fri, 17 Jan 2025 15:03:24 -0600 Subject: [PATCH] Removed unused variable --- src/arkode/arkode_arkstep.c | 1 - src/arkode/arkode_erkstep.c | 1 - src/arkode/arkode_lsrkstep.c | 1 - src/arkode/arkode_mristep.c | 1 - src/arkode/arkode_sprkstep.c | 1 - 5 files changed, 5 deletions(-) diff --git a/src/arkode/arkode_arkstep.c b/src/arkode/arkode_arkstep.c index ff8625b9ef..01d994177b 100644 --- a/src/arkode/arkode_arkstep.c +++ b/src/arkode/arkode_arkstep.c @@ -40,7 +40,6 @@ void* ARKStepCreate(ARKRhsFn fe, ARKRhsFn fi, sunrealtype t0, N_Vector y0, ARKodeMem ark_mem; ARKodeARKStepMem step_mem; SUNNonlinearSolver NLS; - sunbooleantype nvectorOK; int retval; /* Check that at least one of fe, fi is supplied and is to be used */ diff --git a/src/arkode/arkode_erkstep.c b/src/arkode/arkode_erkstep.c index 278f775524..5a833d6057 100644 --- a/src/arkode/arkode_erkstep.c +++ b/src/arkode/arkode_erkstep.c @@ -34,7 +34,6 @@ void* ERKStepCreate(ARKRhsFn f, sunrealtype t0, N_Vector y0, SUNContext sunctx) { ARKodeMem ark_mem; ARKodeERKStepMem step_mem; - sunbooleantype nvectorOK; int retval; /* Check that f is supplied */ diff --git a/src/arkode/arkode_lsrkstep.c b/src/arkode/arkode_lsrkstep.c index 65ad07ff28..d43b831e70 100644 --- a/src/arkode/arkode_lsrkstep.c +++ b/src/arkode/arkode_lsrkstep.c @@ -121,7 +121,6 @@ void* lsrkStep_Create_Commons(ARKRhsFn rhs, sunrealtype t0, N_Vector y0, { ARKodeMem ark_mem; ARKodeLSRKStepMem step_mem; - sunbooleantype nvectorOK; int retval; /* Check that rhs is supplied */ diff --git a/src/arkode/arkode_mristep.c b/src/arkode/arkode_mristep.c index 7f5e852b66..71d60f80f5 100644 --- a/src/arkode/arkode_mristep.c +++ b/src/arkode/arkode_mristep.c @@ -39,7 +39,6 @@ void* MRIStepCreate(ARKRhsFn fse, ARKRhsFn fsi, sunrealtype t0, N_Vector y0, ARKodeMem ark_mem; /* outer ARKODE memory */ ARKodeMRIStepMem step_mem; /* outer stepper memory */ SUNNonlinearSolver NLS; /* default nonlin solver */ - sunbooleantype nvectorOK; int retval; /* Check that at least one of fse, fsi is supplied and is to be used*/ diff --git a/src/arkode/arkode_sprkstep.c b/src/arkode/arkode_sprkstep.c index e72ef17750..a3aabb7465 100644 --- a/src/arkode/arkode_sprkstep.c +++ b/src/arkode/arkode_sprkstep.c @@ -38,7 +38,6 @@ void* SPRKStepCreate(ARKRhsFn f1, ARKRhsFn f2, sunrealtype t0, N_Vector y0, { ARKodeMem ark_mem = NULL; ARKodeSPRKStepMem step_mem = NULL; - sunbooleantype nvectorOK = 0; int retval = 0; /* Check that f1 and f2 are supplied */