From c9be87b42af523b35b1bcb727527341ecd9a5fd4 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Fri, 26 Apr 2013 13:23:30 -0500 Subject: Clean up potential uninitialized object instances. Change-Id: I859f94234d5672f55f745dd37b9662c310b694a7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4236 Reviewed-by: Daniel M. Crowell Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III --- src/usr/diag/prdf/common/framework/config/prdfPllDomain.C | 2 +- src/usr/diag/prdf/common/framework/rule/prdrLoadChipCache.C | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr/diag/prdf/common/framework') diff --git a/src/usr/diag/prdf/common/framework/config/prdfPllDomain.C b/src/usr/diag/prdf/common/framework/config/prdfPllDomain.C index a777d13e9..2eab1698c 100755 --- a/src/usr/diag/prdf/common/framework/config/prdfPllDomain.C +++ b/src/usr/diag/prdf/common/framework/config/prdfPllDomain.C @@ -111,7 +111,7 @@ int32_t PllDomain::Analyze(STEP_CODE_DATA_STRUCT & serviceData, ATTENTION_TYPE attentionType) { typedef ExtensibleChip * ChipPtr; - CcAutoDeletePointerVector chip(new ChipPtr[GetSize()]); + CcAutoDeletePointerVector chip(new ChipPtr[GetSize()]()); int count = 0; int32_t rc = SUCCESS; diff --git a/src/usr/diag/prdf/common/framework/rule/prdrLoadChipCache.C b/src/usr/diag/prdf/common/framework/rule/prdrLoadChipCache.C index 1313f9513..654da30ad 100755 --- a/src/usr/diag/prdf/common/framework/rule/prdrLoadChipCache.C +++ b/src/usr/diag/prdf/common/framework/rule/prdrLoadChipCache.C @@ -71,7 +71,7 @@ namespace Prdr } else { - (*o_chip) = new Chip; + (*o_chip) = new Chip(); do { -- cgit v1.2.1