Merge topic 'morton_codes_maybe-uninitialized_warnings'

62c7b745 VTK-m MortonCodes on GCC 7 was generating maybe-uninitialized warnings.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Merge-request: !1189
This commit is contained in:
Robert Maynard 2018-05-08 20:33:57 +00:00 committed by Kitware Robot
commit 2a75dd50ee

@ -213,8 +213,7 @@ public:
// the wonders of floating point math. This is bad. If we calculate in the same order
// for all faces, then at worst, two different faces can enter the same bucket, which
// we currently check for.
vtkm::Vec<vtkm::Id, 4> faceIndices;
faceIndices[3] = -1;
vtkm::Vec<vtkm::Id, 4> faceIndices(-1);
//Number of indices this face has
const vtkm::Int32 indiceCount = tables.ShapesFaceList(tableOffset + i, 0);
for (vtkm::Int32 j = 1; j <= indiceCount; j++)