From 5788f5438f602ebbce3be7eb3034c7414fce0053 Mon Sep 17 00:00:00 2001 From: abv Date: Wed, 27 Feb 2013 15:25:57 +0400 Subject: [PATCH] 0023694: The variable 'pBuff" is being used without being initialized pBuff initialized by zero --- src/OSD/OSD_Environment.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OSD/OSD_Environment.cxx b/src/OSD/OSD_Environment.cxx index 406e448894..1947f9130c 100755 --- a/src/OSD/OSD_Environment.cxx +++ b/src/OSD/OSD_Environment.cxx @@ -275,7 +275,7 @@ void OSD_Environment :: SetValue ( const TCollection_AsciiString& Value ) { TCollection_AsciiString OSD_Environment :: Value () { - Standard_PCharacter pBuff; + Standard_PCharacter pBuff=0; DWORD dwSize = 0; char* envVal = NULL;