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/kernel/timemgr.C | 47 +++++++++++++++++++++++------------------------ 1 file changed, 23 insertions(+), 24 deletions(-) (limited to 'src/kernel/timemgr.C') diff --git a/src/kernel/timemgr.C b/src/kernel/timemgr.C index 32ffa4a68..fd4c55853 100644 --- a/src/kernel/timemgr.C +++ b/src/kernel/timemgr.C @@ -1,26 +1,25 @@ -/* IBM_PROLOG_BEGIN_TAG - * This is an automatically generated prolog. - * - * $Source: src/kernel/timemgr.C $ - * - * IBM CONFIDENTIAL - * - * COPYRIGHT International Business Machines Corp. 2010-2012 - * - * p1 - * - * Object Code Only (OCO) source materials - * Licensed Internal Code Source Materials - * IBM HostBoot Licensed Internal Code - * - * The source code for this program is not published or other- - * wise divested of its trade secrets, irrespective of what has - * been deposited with the U.S. Copyright Office. - * - * Origin: 30 - * - * IBM_PROLOG_END_TAG - */ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/kernel/timemgr.C $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2010,2013 */ +/* */ +/* p1 */ +/* */ +/* Object Code Only (OCO) source materials */ +/* Licensed Internal Code Source Materials */ +/* IBM HostBoot Licensed Internal Code */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* Origin: 30 */ +/* */ +/* IBM_PROLOG_END_TAG */ #include #include #include @@ -46,7 +45,7 @@ void TimeManager::init_cpu(cpu_t* cpu) void TimeManager::_init_cpu(cpu_t* cpu) { - cpu->delay_list = new delaylist_t; + cpu->delay_list = new delaylist_t(); } uint64_t TimeManager::convertSecToTicks(uint64_t i_sec, uint64_t i_nsec) -- cgit v1.2.1