summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-21 22:53:38 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-21 22:53:38 +0000
commit6caae56c19d3220b238e4650204966052e6ce37c (patch)
treea650671523062fd505ff36b536ca7316b9a1c068
parent4cb76cf51e8840aeb0862bb3bec2cf56f4e99e62 (diff)
downloadATCD-6caae56c19d3220b238e4650204966052e6ce37c.tar.gz
*** empty log message ***
-rw-r--r--TAO/tao/MProfile.i12
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/tao/MProfile.i b/TAO/tao/MProfile.i
index 12fa6050dd3..f4261233185 100644
--- a/TAO/tao/MProfile.i
+++ b/TAO/tao/MProfile.i
@@ -87,10 +87,10 @@ TAO_MProfile::get_prev (void)
if (last_ == 0 || current_ <= 1)
// No List of BeginningOfList
return 0;
- else if (current_ > 1)
+ if (current_ > 1)
current_--;
- else
- return pfiles_[current_ - 1];
+
+ return pfiles_[current_ - 1];
}
// does not affect the current_ setting!
@@ -109,11 +109,11 @@ TAO_MProfile::get_current_profile (void)
{
if (last_ == 0)
return 0;
- else if (current_ == 0)
+ if (current_ == 0)
// means list has not been read before.
current_ = 1;
- else
- return pfiles_[current_ - 1];
+
+ return pfiles_[current_ - 1];
}
ACE_INLINE TAO_PHandle