]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
Fix an un-initialisation
authoradam <adam>
Mon, 14 Sep 2009 14:58:16 +0000 (14:58 +0000)
committeradam <adam>
Mon, 14 Sep 2009 14:58:16 +0000 (14:58 +0000)
src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx

index abef834330824d4f01bb540c0cf88fb3268f3806..35ec366e2ef77c3d689010de935dd398ec2e8099 100644 (file)
@@ -364,7 +364,7 @@ bool NETGENPlugin_NETGEN_2D_ONLY::Compute(SMESH_Mesh&         aMesh,
   // Generate surface mesh
   // -------------------------
 
-  char *optstr;
+  char *optstr = 0;
   int startWith = MESHCONST_MESHSURFACE;
   int endWith   = MESHCONST_OPTSURFACE;
   int err = 1;