diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-03-24 20:38:09 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-03-24 20:38:09 +0000 |
commit | 5985e4d1c699c9fbbbd77090df81b0b95595178e (patch) | |
tree | f9493750ae36b74826b7adb907cfcaf00f5a1292 /ace/OS.cpp | |
parent | 007534725f81f4f59ede5879d2f9da1e7d8f5542 (diff) | |
download | ATCD-5985e4d1c699c9fbbbd77090df81b0b95595178e.tar.gz |
* ace/OS.cpp (ACE_OS_PREALLOCATE_OBJECT): Initialized obj_p to zero
to make egcs happy.
Diffstat (limited to 'ace/OS.cpp')
-rw-r--r-- | ace/OS.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/OS.cpp b/ace/OS.cpp index 90dcc05c61e..aea4594fbd0 100644 --- a/ace/OS.cpp +++ b/ace/OS.cpp @@ -6006,7 +6006,7 @@ ACE_OS_CString::ACE_OS_CString (const char *s) # define ACE_OS_PREALLOCATE_OBJECT(TYPE, ID)\ {\ - TYPE *obj_p;\ + TYPE *obj_p = 0;\ ACE_NEW_RETURN (obj_p, TYPE, -1);\ preallocated_object[ID] = (void *) obj_p;\ } |