Skip to content

Commit

Permalink
Remove useless return; in void functions
Browse files Browse the repository at this point in the history
  • Loading branch information
laetitia-m committed Nov 8, 2023
1 parent c7fd665 commit a2885b9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/mmg3d/split_3d.c
Original file line number Diff line number Diff line change
Expand Up @@ -1202,8 +1202,6 @@ void MMG3D_update_qual(MMG5_pMesh mesh,MMG5_pSol met,const int ne,
pt[i]->qual=MMG5_orcal(mesh,met,newtet[i]);
}
}

return;
}

/**
Expand Down Expand Up @@ -2437,8 +2435,6 @@ void MMG3D_split3op_cfg(MMG5_pTetra pt,MMG5_int vx[6],uint8_t tau[4],
/* Determine the condition to choose split pattern to apply */
(*imin03) = (pt->v[(*ip0)] < pt->v[(*ip3)]) ? (*ip0) : (*ip3);
(*imin12) = (pt->v[(*ip1)] < pt->v[(*ip2)]) ? (*ip1) : (*ip2);

return;
}

/**
Expand Down

0 comments on commit a2885b9

Please sign in to comment.