summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog-99b5
-rw-r--r--ace/OS.cpp2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog-99b b/ChangeLog-99b
index caca7a3261f..efbe27f4c73 100644
--- a/ChangeLog-99b
+++ b/ChangeLog-99b
@@ -1,3 +1,8 @@
+Wed Mar 24 14:36:12 1999 Ossama Othman <othman@cs.wustl.edu>
+
+ * ace/OS.cpp (ACE_OS_PREALLOCATE_OBJECT): Initialized obj_p to zero
+ to make egcs happy.
+
Wed Mar 24 13:23:36 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: removed note about building netsvcs before
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;\
}