summaryrefslogtreecommitdiffstats
path: root/src/libc++
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2013-04-26 13:23:30 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-05-01 14:03:50 -0500
commitc9be87b42af523b35b1bcb727527341ecd9a5fd4 (patch)
treef72d32196b3fbbca0b994bfc61a4bdecc4eb6d5c /src/libc++
parent02cf3abca60d9f7e2b218e1a445c3c80230a3ceb (diff)
downloadtalos-hostboot-c9be87b42af523b35b1bcb727527341ecd9a5fd4.tar.gz
talos-hostboot-c9be87b42af523b35b1bcb727527341ecd9a5fd4.zip
Clean up potential uninitialized object instances.
Change-Id: I859f94234d5672f55f745dd37b9662c310b694a7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4236 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/libc++')
-rwxr-xr-xsrc/libc++/builtins.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libc++/builtins.C b/src/libc++/builtins.C
index 7cef85485..02953d72d 100755
--- a/src/libc++/builtins.C
+++ b/src/libc++/builtins.C
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2010,2012 */
+/* COPYRIGHT International Business Machines Corp. 2010,2013 */
/* */
/* p1 */
/* */
@@ -149,7 +149,7 @@ extern "C" int __cxa_atexit(void (*i_dtor)(void*),
// TODO - Only need dtors for extended image modules
if(i_dso_handle != __dso_handle)
{
- DtorEntry_t * entry = new DtorEntry_t;
+ DtorEntry_t * entry = new DtorEntry_t();
entry->key = i_dso_handle;
entry->dtor = i_dtor;
entry->arg = i_arg;
OpenPOWER on IntegriCloud