remove unused initialization
This commit is contained in:
committed by
Markus Blatt
parent
5f9d67a6eb
commit
7b3b26c452
@@ -126,7 +126,7 @@ namespace {
|
||||
segIndCB.push_back(segIndex);
|
||||
int newSInd = segIndex;
|
||||
const auto& origBranchNo = segSet[segIndex].branchNumber();
|
||||
bool endOrigBranch = true;
|
||||
bool endOrigBranch;
|
||||
// loop down branch to find all segments in branch and number from "toe" to "heel"
|
||||
while (newSInd < segSet.size()) {
|
||||
endOrigBranch = true;
|
||||
|
||||
@@ -875,7 +875,7 @@ EclipseGrid::EclipseGrid(const Deck& deck, const int * actnum)
|
||||
zb = zt + sumKdir(i, j, dims, dz);
|
||||
|
||||
double xt=-999;
|
||||
double xb=-999;
|
||||
double xb;
|
||||
|
||||
if (j == (dims[1]-1) ) {
|
||||
xt = sumIdir(i, j, 0, dims, dx);
|
||||
|
||||
@@ -171,7 +171,7 @@ namespace Opm {
|
||||
for (int i = segment1; i <= segment2; ++i) {
|
||||
// for the first or the only segment in the range is the one specified in the WELSEGS
|
||||
// from the second segment in the range, the outlet segment is the previous segment in the range
|
||||
int outlet_segment = -1;
|
||||
int outlet_segment;
|
||||
if (i == segment1) {
|
||||
outlet_segment = outlet_segment_readin;
|
||||
} else {
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace Opm {
|
||||
throw std::invalid_argument(msg);
|
||||
}
|
||||
|
||||
auto cmode = ProducerCMode::CMODE_UNDEFINED;
|
||||
ProducerCMode cmode;
|
||||
|
||||
if (effectiveHistoryProductionControl(this->whistctl_cmode) )
|
||||
cmode = this->whistctl_cmode;
|
||||
|
||||
Reference in New Issue
Block a user