Fixed a few "unused variable" warnings
This commit is contained in:
parent
8877f95e3c
commit
e487d95054
2 changed files with 6 additions and 6 deletions
|
|
@ -795,7 +795,7 @@ doublereal MultiPhase::equilibrate(int XY, doublereal err,
|
|||
|
||||
}
|
||||
|
||||
catch (CanteraError& err) {
|
||||
catch (CanteraError&) {
|
||||
if (!strt) {
|
||||
if (loglevel > 0)
|
||||
addLogEntry("no convergence",
|
||||
|
|
@ -887,7 +887,7 @@ doublereal MultiPhase::equilibrate(int XY, doublereal err,
|
|||
}
|
||||
}
|
||||
|
||||
catch (CanteraError& err) {
|
||||
catch (CanteraError&) {
|
||||
if (!strt) {
|
||||
if (loglevel > 0) {
|
||||
addLogEntry("no convergence",
|
||||
|
|
|
|||
|
|
@ -440,7 +440,7 @@ void CVodesIntegrator::reinitialize(double t0, FuncEval& func)
|
|||
//error("Teminating execution");
|
||||
//}
|
||||
|
||||
int result, flag;
|
||||
int result;
|
||||
|
||||
#if defined(SUNDIALS_VERSION_22) || defined(SUNDIALS_VERSION_23)
|
||||
if (m_itol == CV_SV) {
|
||||
|
|
@ -481,13 +481,13 @@ void CVodesIntegrator::reinitialize(double t0, FuncEval& func)
|
|||
|
||||
// set options
|
||||
if (m_maxord > 0) {
|
||||
flag = CVodeSetMaxOrd(m_cvode_mem, m_maxord);
|
||||
CVodeSetMaxOrd(m_cvode_mem, m_maxord);
|
||||
}
|
||||
if (m_maxsteps > 0) {
|
||||
flag = CVodeSetMaxNumSteps(m_cvode_mem, m_maxsteps);
|
||||
CVodeSetMaxNumSteps(m_cvode_mem, m_maxsteps);
|
||||
}
|
||||
if (m_hmax > 0) {
|
||||
flag = CVodeSetMaxStep(m_cvode_mem, m_hmax);
|
||||
CVodeSetMaxStep(m_cvode_mem, m_hmax);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue