From 8db9d4b62a5d8e885981572dbfa8c6849653cc20 Mon Sep 17 00:00:00 2001 From: "joaquin.f.fernandez" Date: Thu, 27 Oct 2022 10:14:21 -0300 Subject: [PATCH] Remove unused variables. --- src/engine/classic/classic_ida_integrator.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/engine/classic/classic_ida_integrator.c b/src/engine/classic/classic_ida_integrator.c index 74582daa..408e75a9 100644 --- a/src/engine/classic/classic_ida_integrator.c +++ b/src/engine/classic/classic_ida_integrator.c @@ -147,7 +147,7 @@ void IDA_integrate(SIM_simulator simulate) N_Vector y, yp, abstol, temp_y = NULL; void *mem; - int i, j, nnz; + int i, nnz; unsigned long totalOutputSteps = 0; const double _ft = clcData->ft; double dQRel = clcData->dQRel[0]; @@ -165,7 +165,6 @@ void IDA_integrate(SIM_simulator simulate) double *solution_time = malloc(sizeof(double) * (num_steps + 1)); double **outvar = malloc(sizeof(double) * simOutput->outputs); int *jroot = malloc(sizeof(int) * clcData->events), flag; - int event_detected = 0; double rel_tol = dQRel, abs_tol = dQMin; realtype reltol = rel_tol, t = clcData->it, tout; y = abstol = NULL;