Remove unnecessary use of (void)
This commit is contained in:
parent
09207eacfb
commit
187fd27cef
9 changed files with 11 additions and 11 deletions
|
|
@ -863,7 +863,7 @@ public:
|
|||
*
|
||||
* NOTE: currently this routine is not used.
|
||||
*/
|
||||
int vcs_rxn_adj_cg(void);
|
||||
int vcs_rxn_adj_cg();
|
||||
|
||||
//! Calculates the diagonal contribution to the Hessian due to
|
||||
//! the dependence of the activity coefficients on the mole numbers.
|
||||
|
|
@ -1359,7 +1359,7 @@ private:
|
|||
double* const ss, double test);
|
||||
|
||||
//! Calculate the status of single species phases.
|
||||
void vcs_SSPhase(void);
|
||||
void vcs_SSPhase();
|
||||
|
||||
//! This function recalculates the deltaG for reaction, irxn
|
||||
/*!
|
||||
|
|
|
|||
|
|
@ -857,7 +857,7 @@ void XML_Node::copyUnion(XML_Node* const node_dest) const
|
|||
}
|
||||
}
|
||||
if (!dc) {
|
||||
(void) node_dest->addChild(sc->name());
|
||||
node_dest->addChild(sc->name());
|
||||
dc = vsc[ndc];
|
||||
}
|
||||
sc->copyUnion(dc);
|
||||
|
|
@ -883,7 +883,7 @@ void XML_Node::copy(XML_Node* const node_dest) const
|
|||
sc = m_children[n];
|
||||
size_t ndc = node_dest->nChildren();
|
||||
// Here is where we do a malloc of the child node.
|
||||
(void) node_dest->addChild(sc->name());
|
||||
node_dest->addChild(sc->name());
|
||||
dc = vsc[ndc];
|
||||
sc->copy(dc);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ int VCS_SOLVE::vcs_evalSS_TP(int ipr, int ip1, double Temp, double pres)
|
|||
return VCS_SUCCESS;
|
||||
}
|
||||
|
||||
void VCS_SOLVE::vcs_fePrep_TP(void)
|
||||
void VCS_SOLVE::vcs_fePrep_TP()
|
||||
{
|
||||
for (size_t i = 0; i < m_numSpeciesTot; ++i) {
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -563,7 +563,7 @@ void vcs_VolPhase::sendToVCS_ActCoeff(const int vcsStateStatus,
|
|||
double vcs_VolPhase::sendToVCS_VolPM(double* const VolPM) const
|
||||
{
|
||||
if (!m_UpToDate_VolPM) {
|
||||
(void) _updateVolPM();
|
||||
_updateVolPM();
|
||||
}
|
||||
for (size_t k = 0; k < m_numSpecies; k++) {
|
||||
size_t kglob = IndSpecies[k];
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ void VCS_SOLVE::vcs_inest(double* const aw, double* const sa, double* const sm,
|
|||
* coefficient matrix
|
||||
*/
|
||||
bool conv;
|
||||
(void) vcs_basopt(false, aw, sa, sm, ss, test, &conv);
|
||||
vcs_basopt(false, aw, sa, sm, ss, test, &conv);
|
||||
|
||||
/* ***************************************************************** */
|
||||
/* **** CALCULATE TOTAL MOLES, ****************** */
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@ void VCS_SOLVE::vcs_nondim_TP()
|
|||
}
|
||||
}
|
||||
|
||||
void VCS_SOLVE::vcs_redim_TP(void)
|
||||
void VCS_SOLVE::vcs_redim_TP()
|
||||
{
|
||||
if (m_unitsState != VCS_DIMENSIONAL_G) {
|
||||
m_unitsState = VCS_DIMENSIONAL_G;
|
||||
|
|
|
|||
|
|
@ -1352,7 +1352,7 @@ void HMWSoln::calcMolalitiesCropped() const
|
|||
|
||||
}
|
||||
|
||||
void HMWSoln::counterIJ_setup(void) const
|
||||
void HMWSoln::counterIJ_setup() const
|
||||
{
|
||||
m_CounterIJ.resize(m_kk * m_kk);
|
||||
int counter = 0;
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ ThermoPhase& ThermoPhase::operator=(const ThermoPhase& right)
|
|||
/*
|
||||
* Call the base class assignment operator
|
||||
*/
|
||||
(void)Phase::operator=(right);
|
||||
Phase::operator=(right);
|
||||
|
||||
/*
|
||||
* Pointer to the species thermodynamic property manager
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ GasTransport& GasTransport::operator=(const GasTransport& right)
|
|||
return *this;
|
||||
}
|
||||
|
||||
void GasTransport::update_T(void)
|
||||
void GasTransport::update_T()
|
||||
{
|
||||
double T = m_thermo->temperature();
|
||||
if (T == m_temp) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue