mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1292 Fixed CppCheck Issues in ReservoirDataModel
This commit is contained in:
@@ -245,14 +245,12 @@ bool GeometryTools::calculateOverlapPolygonOfTwoQuads(std::vector<IndexType> * p
|
||||
|
||||
for (cv1Idx = 0 ; cv1Idx < 4 ; ++cv1Idx)
|
||||
{
|
||||
bool found = false;
|
||||
for (cv2Idx = 0; cv2Idx < 4; ++cv2Idx)
|
||||
{
|
||||
if (cv1CubeFaceIndices[cv1Idx] == cv2CubeFaceIndices[cv2Idx])
|
||||
{
|
||||
cv1VxTouchCv2[cv1Idx] = true;
|
||||
cv2VxTouchCv1[cv2Idx] = true;
|
||||
found = true;
|
||||
++numMatchedNodes;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user