From: cas Date: Fri, 5 Nov 1999 18:28:10 +0000 (+0000) Subject: No comments X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=2a14671628962ea4a1bcbc2cd7debb6a19e0bdc9;p=occt-wok.git No comments --- diff --git a/src/CPPClient/CPPClient.cxx b/src/CPPClient/CPPClient.cxx index f13609d..b990186 100755 --- a/src/CPPClient/CPPClient.cxx +++ b/src/CPPClient/CPPClient.cxx @@ -1101,7 +1101,7 @@ void CPPClient_AsynchronousMethodBuilder(const Handle(MS_MetaSchema)& aMeta, { Handle(TCollection_HAsciiString) metname = new TCollection_HAsciiString(CPPClient_InterfaceName); Handle(TCollection_HAsciiString) metbody = new TCollection_HAsciiString; - Standard_CString headerTemplate; + Standard_CString headerTemplate = NULL; metname->AssignCat("_"); metname->AssignCat(className); @@ -1209,7 +1209,7 @@ void CPPClient_MethodBuilder(const Handle(MS_MetaSchema)& aMeta, if (!IsAsynchrone) { Handle(TCollection_HAsciiString) metname = new TCollection_HAsciiString(CPPClient_InterfaceName); Handle(TCollection_HAsciiString) metbody = new TCollection_HAsciiString; - Standard_CString headerTemplate; + Standard_CString headerTemplate = NULL; metname->AssignCat("_"); metname->AssignCat(className); @@ -1585,7 +1585,7 @@ void CPPClient_Extract(const Handle(MS_MetaSchema)& aMeta, const Standard_CString Mode) { if (aMeta->IsDefined(aTypeName) || aMeta->IsPackage(aTypeName)) { - ExtractionType theMode; + ExtractionType theMode = CPPClient_COMPLETE; if (strcmp(Mode,"CPPClient_COMPLETE") == 0) {theMode = CPPClient_COMPLETE;} else if (strcmp(Mode,"CPPClient_INCOMPLETE") == 0) {theMode = CPPClient_INCOMPLETE;}