Commits

Satish Balay committed 390f8ca

DMPlex: fix compile warning on bsd

Comments (0)

Files changed (1)

src/dm/impls/plex/plexsubmesh.c

   IS              subvertexIS;
   const PetscInt *subVertices;
   PetscInt        numSubVertices, firstSubVertex, numSubCells, *subCells;
-  PetscInt       *subface, maxConeSize, numSubFaces, firstSubFace, newFacePoint, nFV;
+  PetscInt       *subface, maxConeSize, numSubFaces=0, firstSubFace, newFacePoint, nFV=0;
   PetscInt        cMax, c, f;
   PetscErrorCode  ierr;