summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/tao/MProfile.cpp18
-rw-r--r--TAO/tao/MProfile.h4
2 files changed, 13 insertions, 9 deletions
diff --git a/TAO/tao/MProfile.cpp b/TAO/tao/MProfile.cpp
index e841b259fa5..ee6ce156da3 100644
--- a/TAO/tao/MProfile.cpp
+++ b/TAO/tao/MProfile.cpp
@@ -15,11 +15,11 @@
#include <tao/corba.h>
TAO_MProfile::TAO_MProfile (CORBA::ULong sz)
- : size_ (sz),
- last_ (0),
+ : fwded_mprofile_(0),
+ pfiles_ (0),
current_ (0),
- fwded_mprofile_(0),
- pfiles_ (0)
+ size_ (sz),
+ last_ (0)
{
this->set (sz);
@@ -27,11 +27,11 @@ TAO_MProfile::TAO_MProfile (CORBA::ULong sz)
}
TAO_MProfile::TAO_MProfile (TAO_MProfile *mprofiles)
- : size_ (0),
- last_ (0),
+ : fwded_mprofile_(0),
+ pfiles_ (0),
current_ (0),
- fwded_mprofile_(0),
- pfiles_ (0)
+ size_ (sz),
+ last_ (0)
{
this->set (mprofiles);
@@ -273,7 +273,7 @@ CORBA::ULong
TAO_MProfile::hash (CORBA::ULong max, CORBA::Environment &env)
{
- CORBA::ULong hashval;
+ CORBA::ULong hashval=0;
if (last_ == 0) return 0;
diff --git a/TAO/tao/MProfile.h b/TAO/tao/MProfile.h
index 354253356b5..baf71860fce 100644
--- a/TAO/tao/MProfile.h
+++ b/TAO/tao/MProfile.h
@@ -4,12 +4,16 @@
// ============================================================================
//
// = LIBRARY
+// TAO
//
// = FILENAME
+// MProfile.h
//
// = DESCRIPTION
+// Keep track of profile lists
//
// = AUTHOR
+// Fred Kuhns
//
// ============================================================================