Remove unused variable from example

The value set to this variable is never used, not even in comments
describing what one could do with it. Thus, it has no value as an
example. I want remove it to avoid the unnecessary warning when
compiling the project (currently the only one).
This commit is contained in:
Roland Kaufmann 2013-03-07 10:28:54 +01:00
parent 46a78df3cd
commit 2e578426e9

View File

@ -235,7 +235,6 @@ int main(int varnum, char** vararg)
const double maxPermContrast = atof(options["maxPermContrast"].c_str());
const double minPerm = atof(options["minPerm"].c_str());
const double minPoro = atof(options["minPoro"].c_str());
bool zerosatnumcells = false; // This is set true if there are some cells with rocktype zero.
/* Sanity check/fix on input for each cell:
- Check that SATNUM are set sensibly, that is => 0 and < 1000, error if not.
@ -269,7 +268,6 @@ int main(int varnum, char** vararg)
}
// Explicitly handle "no rock" cells, set them to minimum perm and zero porosity.
if (satnums[i] == 0) {
zerosatnumcells = true;
permxs[i] = minPerm;
poros[i] = 0; // zero poro is fine for these cells, as they are not
// used in pcmin/max computation.