mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0023694: The variable 'pBuff" is being used without being initialized
pBuff initialized by zero
This commit is contained in:
parent
aa2f78c2de
commit
5788f5438f
@ -275,7 +275,7 @@ void OSD_Environment :: SetValue ( const TCollection_AsciiString& Value ) {
|
|||||||
|
|
||||||
TCollection_AsciiString OSD_Environment :: Value () {
|
TCollection_AsciiString OSD_Environment :: Value () {
|
||||||
|
|
||||||
Standard_PCharacter pBuff;
|
Standard_PCharacter pBuff=0;
|
||||||
DWORD dwSize = 0;
|
DWORD dwSize = 0;
|
||||||
char* envVal = NULL;
|
char* envVal = NULL;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user