Fixed warnings

This commit is contained in:
babrodtk
2015-09-02 13:02:27 +02:00
parent 009ae54523
commit 5b287e0ea8
17 changed files with 97 additions and 76 deletions

View File

@@ -910,6 +910,7 @@ inline double findTHP(
}
//Canary in a coal mine: shouldn't really be required
assert(found == true);
static_cast<void>(found); //Silence compiler warning
const double& x0 = thp_array[i ];
const double& x1 = thp_array[i+1];