зеркало из https://github.com/microsoft/SCXcore.git
default initialization (#11)
This commit is contained in:
Родитель
9700067c14
Коммит
c7bc5d6369
|
@ -179,9 +179,9 @@ void SCX_DiskDriveStatisticalInformation_Class_Provider::EnumerateInstances(
|
|||
|
||||
if(filter) {
|
||||
//char* exprStr[QLENGTH]={'\0'};
|
||||
char ** exprStr = new char *[QLENGTH];
|
||||
char ** exprStr = new char *[QLENGTH]();
|
||||
//char* qtypeStr[QLENGTH]={'\0'};
|
||||
char ** qtypeStr = new char *[QLENGTH];
|
||||
char ** qtypeStr = new char *[QLENGTH]();
|
||||
|
||||
const MI_Char** expr=(const MI_Char**)&exprStr;
|
||||
const MI_Char** qtype=(const MI_Char**)&qtypeStr;
|
||||
|
|
|
@ -197,9 +197,9 @@ void SCX_DiskDrive_Class_Provider::EnumerateInstances(
|
|||
|
||||
if(filter) {
|
||||
//char* exprStr[QLENGTH]={'\0'};
|
||||
char ** exprStr = new char *[QLENGTH];
|
||||
char ** exprStr = new char *[QLENGTH]();
|
||||
//char* qtypeStr[QLENGTH]={'\0'};
|
||||
char ** qtypeStr = new char *[QLENGTH];
|
||||
char ** qtypeStr = new char *[QLENGTH]();
|
||||
|
||||
const MI_Char** expr=(const MI_Char**)&exprStr;
|
||||
const MI_Char** qtype=(const MI_Char**)&qtypeStr;
|
||||
|
|
|
@ -135,9 +135,9 @@ void SCX_EthernetPortStatistics_Class_Provider::EnumerateInstances(
|
|||
|
||||
if(filter) {
|
||||
//char* exprStr[QLENGTH]={'\0'};
|
||||
char ** exprStr = new char *[QLENGTH];
|
||||
char ** exprStr = new char *[QLENGTH]();
|
||||
//char* qtypeStr[QLENGTH]={'\0'};
|
||||
char ** qtypeStr = new char *[QLENGTH];
|
||||
char ** qtypeStr = new char *[QLENGTH]();
|
||||
|
||||
const MI_Char** expr=(const MI_Char**)&exprStr;
|
||||
const MI_Char** qtype=(const MI_Char**)&qtypeStr;
|
||||
|
|
|
@ -209,9 +209,9 @@ void SCX_FileSystemStatisticalInformation_Class_Provider::EnumerateInstances(
|
|||
|
||||
if(filter) {
|
||||
//char* exprStr[QLENGTH]={'\0'};
|
||||
char ** exprStr = new char *[QLENGTH];
|
||||
char ** exprStr = new char *[QLENGTH]();
|
||||
//char* qtypeStr[QLENGTH]={'\0'};
|
||||
char ** qtypeStr = new char *[QLENGTH];
|
||||
char ** qtypeStr = new char *[QLENGTH]();
|
||||
|
||||
const MI_Char** expr=(const MI_Char**)&exprStr;
|
||||
const MI_Char** qtype=(const MI_Char**)&qtypeStr;
|
||||
|
|
|
@ -211,9 +211,9 @@ void SCX_FileSystem_Class_Provider::EnumerateInstances(
|
|||
|
||||
if(filter) {
|
||||
//char* exprStr[QLENGTH]={'\0'};
|
||||
char ** exprStr = new char *[QLENGTH];
|
||||
char ** exprStr = new char *[QLENGTH]();
|
||||
//char* qtypeStr[QLENGTH]={'\0'};
|
||||
char ** qtypeStr = new char *[QLENGTH];
|
||||
char ** qtypeStr = new char *[QLENGTH]();
|
||||
|
||||
const MI_Char** expr=(const MI_Char**)&exprStr;
|
||||
const MI_Char** qtype=(const MI_Char**)&qtypeStr;
|
||||
|
|
|
@ -164,9 +164,9 @@ void SCX_IPProtocolEndpoint_Class_Provider::EnumerateInstances(
|
|||
|
||||
if(filter) {
|
||||
//char* exprStr[QLENGTH]={'\0'};
|
||||
char ** exprStr = new char *[QLENGTH];
|
||||
char ** exprStr = new char *[QLENGTH]();
|
||||
//char* qtypeStr[QLENGTH]={'\0'};
|
||||
char ** qtypeStr = new char *[QLENGTH];
|
||||
char ** qtypeStr = new char *[QLENGTH]();
|
||||
|
||||
const MI_Char** expr=(const MI_Char**)&exprStr;
|
||||
const MI_Char** qtype=(const MI_Char**)&qtypeStr;
|
||||
|
|
|
@ -136,9 +136,9 @@ void SCX_LANEndpoint_Class_Provider::EnumerateInstances(
|
|||
|
||||
if(filter) {
|
||||
//char* exprStr[QLENGTH]={'\0'};
|
||||
char ** exprStr = new char *[QLENGTH];
|
||||
char ** exprStr = new char *[QLENGTH]();
|
||||
//char* qtypeStr[QLENGTH]={'\0'};
|
||||
char ** qtypeStr = new char *[QLENGTH];
|
||||
char ** qtypeStr = new char *[QLENGTH]();
|
||||
|
||||
const MI_Char** expr=(const MI_Char**)&exprStr;
|
||||
const MI_Char** qtype=(const MI_Char**)&qtypeStr;
|
||||
|
|
|
@ -252,9 +252,9 @@ void SCX_UnixProcessStatisticalInformation_Class_Provider::EnumerateInstances(
|
|||
|
||||
if(filter) {
|
||||
//char* exprStr[QLENGTH]={'\0'};
|
||||
char ** exprStr = new char *[QLENGTH];
|
||||
char ** exprStr = new char *[QLENGTH]();
|
||||
//char* qtypeStr[QLENGTH]={'\0'};
|
||||
char ** qtypeStr = new char *[QLENGTH];
|
||||
char ** qtypeStr = new char *[QLENGTH]();
|
||||
|
||||
const MI_Char** expr=(const MI_Char**)&exprStr;
|
||||
const MI_Char** qtype=(const MI_Char**)&qtypeStr;
|
||||
|
|
|
@ -277,9 +277,9 @@ void SCX_UnixProcess_Class_Provider::EnumerateInstances(
|
|||
|
||||
if(filter) {
|
||||
//char* exprStr[QLENGTH]={'\0'};
|
||||
char ** exprStr = new char *[QLENGTH];
|
||||
char ** exprStr = new char *[QLENGTH]();
|
||||
//char* qtypeStr[QLENGTH]={'\0'};
|
||||
char ** qtypeStr = new char *[QLENGTH];
|
||||
char ** qtypeStr = new char *[QLENGTH]();
|
||||
|
||||
const MI_Char** expr=(const MI_Char**)&exprStr;
|
||||
const MI_Char** qtype=(const MI_Char**)&qtypeStr;
|
||||
|
|
Загрузка…
Ссылка в новой задаче