From: abv Date: Wed, 27 Feb 2013 11:25:57 +0000 (+0400) Subject: 0023694: The variable 'pBuff" is being used without being initialized X-Git-Tag: V6_6_0_beta~58 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=5788f5438f602ebbce3be7eb3034c7414fce0053;p=occt-copy.git 0023694: The variable 'pBuff" is being used without being initialized pBuff initialized by zero --- 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;