From c2ce04523e64ff7fa3d56d9ece58f9e029f2dd0c Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sun, 18 Mar 2007 12:49:30 +0000
Subject: [PATCH] fix warn

---
 Mesh/BDS.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Mesh/BDS.cpp b/Mesh/BDS.cpp
index 0f62d20da1..72d86b5bb5 100644
--- a/Mesh/BDS.cpp
+++ b/Mesh/BDS.cpp
@@ -1,4 +1,4 @@
-// $Id: BDS.cpp,v 1.73 2007-02-03 15:40:06 geuzaine Exp $
+// $Id: BDS.cpp,v 1.74 2007-03-18 12:49:30 geuzaine Exp $
 //
 // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
 //
@@ -477,8 +477,8 @@ bool BDS_Mesh::import_view(Post_View *view, const double tolerance)
   std::set < BDS_Point *, PointLessThanLexicographic > pts;
 
   for(int type = 0; type < 6; type++){
-    int nbList, nbNod;
-    List_T *list;
+    int nbList=0, nbNod=0;
+    List_T *list=0;
     switch(type){
     case 0: list = view->ST; nbList = view->NbST; nbNod = 3; break;
     case 1: list = view->VT; nbList = view->NbVT; nbNod = 3; break;
-- 
GitLab