mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-27 17:50:59 -06:00
Suppress unused argument warning in release mode.
This commit is contained in:
parent
f763192a32
commit
f279629bf1
@ -108,6 +108,7 @@ namespace Opm
|
|||||||
const int nc = number_of_cells;
|
const int nc = number_of_cells;
|
||||||
|
|
||||||
assert(cartdims[0]*cartdims[1]*cartdims[2] > 0);
|
assert(cartdims[0]*cartdims[1]*cartdims[2] > 0);
|
||||||
|
static_cast<void>(cartdims); // Squash warning in release mode.
|
||||||
|
|
||||||
permeability_.assign(dim * dim * nc, 0.0);
|
permeability_.assign(dim * dim * nc, 0.0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user