From 85127d2c6abed29a3a41700e5da4779f5bac5aff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9lestin=20Marot?= <marotcelestin@gmail.com>
Date: Fri, 17 Jun 2022 11:18:02 +0000
Subject: [PATCH] uninitalized value (see issue #1807)

---
 contrib/hxt/tetMesh/src/hxt_tetDelaunay.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/hxt/tetMesh/src/hxt_tetDelaunay.c b/contrib/hxt/tetMesh/src/hxt_tetDelaunay.c
index 6477bc5cbc..a25ea0e290 100644
--- a/contrib/hxt/tetMesh/src/hxt_tetDelaunay.c
+++ b/contrib/hxt/tetMesh/src/hxt_tetDelaunay.c
@@ -1031,7 +1031,7 @@ static HXTStatus insertion(HXT2Sync* shared2sync,
   HXT_CHECK(status);
 
   if(!perfectDelaunay) {
-    int undeleteTet;
+    int undeleteTet = 0;
     if(edgeConstraint) {
       // printf("we have an edge constraint\n");
       HXT_CHECK( respectEdgeConstraint(local, mesh, vta, color, prevDeleted, &undeleteTet) );
-- 
GitLab