From b6e49620cb9be3acdbaee4d69e8dbb91180c195a Mon Sep 17 00:00:00 2001 From: ptv Date: Thu, 22 Jun 2006 12:21:41 +0000 Subject: [PATCH] initialise variable before usage --- src/NETGENPlugin/NETGENPlugin_Mesher.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx index eaf010a..de8dadd 100644 --- a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx @@ -193,7 +193,7 @@ bool NETGENPlugin_Mesher::Compute() int endWith = (_optimize ? (_isVolume ? netgen::MESHCONST_OPTVOLUME : netgen::MESHCONST_OPTSURFACE) : netgen::MESHCONST_MESHSURFACE); - char *optstr; + char *optstr = 0; int err = 0; try -- 2.39.2