Details
-
Bug
-
Status: Resolved
-
Not specified
-
Resolution: Fixed
-
None
-
None
Description
Fix following scan error:
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
-
- CID 1530248: Uninitialized members (UNINIT_CTOR)
/home/centos/build/CE/platform/HPCC-Platform/tools/hidl/hidlcomp.h: 961 in EspMethodInfo::EspMethodInfo(ProcInfo *)()
- CID 1530248: Uninitialized members (UNINIT_CTOR)
________________________________________________________________________________________________________
-
-
- CID 1530248: Uninitialized members (UNINIT_CTOR)
/home/centos/build/CE/platform/HPCC-Platform/tools/hidl/hidlcomp.h: 961 in EspMethodInfo::EspMethodInfo(ProcInfo *)()
955 response_ =(char *)malloc(strlen(name_)+9);
956 strcpy(response_, name_);
957 strcat(response_, "Response");
958
959 tags=NULL;
960 next=NULL;
>>> CID 1530248: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "executionProfilingEnabled" is not initialized in this constructor nor in any functions that it calls.
961 }
962
963 ~EspMethodInfo()
964 {
965 if (name_)
966 free(name_);
- CID 1530248: Uninitialized members (UNINIT_CTOR)
-