Remove compiler warnings

This commit is contained in:
Jacob Støren
2019-01-23 14:05:02 +01:00
parent 1d8e31fe91
commit 726f5ee596
2 changed files with 4 additions and 1 deletions

View File

@@ -203,7 +203,7 @@ public:
std::array<FaceType, 4> adjacentFaces(FaceType face)
{
std::array<FaceType, 4> clipFaces;
std::array<FaceType, 4> clipFaces = {FaceType::NO_FACE, FaceType::NO_FACE, FaceType::NO_FACE, FaceType::NO_FACE} ;
FaceType oppFace = cvf::StructGridInterface::oppositeFace(face);
int clipFaceCount = 0;
for (int faceCand = 0; faceCand < 6; ++faceCand )