1. petsc
  2. PETSc
  3. petsc

Commits

Matt Knepley  committed 2c8c000

DMPlex: Remove unused variables

  • Participants
  • Parent commits 8c312ff
  • Branches master

Comments (0)

Files changed (1)

File src/dm/impls/plex/plex.c

View file
  • Ignore whitespace
   if (numFields > 31) SETERRQ1(PetscObjectComm((PetscObject)dm), PETSC_ERR_ARG_OUTOFRANGE, "Number of fields %D limited to 31", numFields);
   ierr = PetscMemzero(offsets, 32 * sizeof(PetscInt));CHKERRQ(ierr);
   if (depth == 1 && numFields < 2 && mode == ADD_VALUES) {
-    void          (*comb)(PetscScalar *, PetscScalar);
-    PetscBool       hasBC;
     const PetscInt *cone, *coneO;
 
     ierr = DMPlexGetConeSize(dm, point, &numPoints);CHKERRQ(ierr);