Manta: Cleanup, strict compiler flag

For some reason was only visible with gcc-10 in release builds.

Kind of makes sense since there is no CMake code which removes strict
compiler flag, so deal with strict flags in the code itself.
This commit is contained in:
Sergey Sharybin 2020-05-18 11:01:34 +02:00
parent a432cb2ad9
commit 005d04e145
1 changed files with 1 additions and 0 deletions

View File

@ -2982,6 +2982,7 @@ bool MANTA::updateGridsFromUni(string filename, vector<GridItem> grids)
return false;
}
assert(expectedBytes == readBytes);
(void)expectedBytes;
if (with_debug)
cout << "Fluid: Read successfully: " << filename << endl;