summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ace/Array_Base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Array_Base.cpp b/ace/Array_Base.cpp
index 0a5914ca3c6..a054d900045 100644
--- a/ace/Array_Base.cpp
+++ b/ace/Array_Base.cpp
@@ -156,7 +156,7 @@ ACE_Array_Base<T>::max_size (size_t new_size)
{
if (new_size > this->max_size_)
{
- T *tmp;
+ T *tmp = 0;
ACE_ALLOCATOR_RETURN (tmp,
(T *) this->allocator_->malloc (new_size * sizeof (T)),