Fix some compiler warnings regarding unused variables

This commit is contained in:
Ray Speth 2016-04-03 22:20:53 -04:00
parent 511a39fc73
commit ee1b07ac6b
2 changed files with 1 additions and 11 deletions

View file

@ -752,7 +752,7 @@ void solveSP::printIteration(int ioflag, doublereal damp, int label_d,
size_t iter, doublereal update_norm,
doublereal resid_norm, bool do_time, bool final)
{
size_t i, k;
size_t k;
string nm;
if (ioflag == 1) {
if (final) {

View file

@ -24,16 +24,6 @@ using std::exp;
using std::pow;
using std::fabs;
/*
* Critical Point values in mks units: Note, these aren't used in this
* routine, except for internal checks. All calculations here are done
* in dimensionless units.
*/
// \cond
static const doublereal T_c = 647.096; // Kelvin
static const doublereal Rho_c = 322.; // kg m-3
// \endcond
/*
* The added constants were calculated so that u = s = 0
* for liquid at the triple point. These where determined