summaryrefslogtreecommitdiff
path: root/TAO/IIOP/lib/optable.cpp
diff options
context:
space:
mode:
authorChris Cleeland <chris.cleeland@gmail.com>1997-05-22 16:57:08 +0000
committerChris Cleeland <chris.cleeland@gmail.com>1997-05-22 16:57:08 +0000
commite453c1c3709ed13ef2a45e1b7f9e6de58ef63098 (patch)
tree519f3b3b42444b2fb825c4b001cbbc4533b43869 /TAO/IIOP/lib/optable.cpp
parent5082d18b5363fdd2a025a58d15e00d66ff6a6c5c (diff)
downloadATCD-e453c1c3709ed13ef2a45e1b7f9e6de58ef63098.tar.gz
duh
Diffstat (limited to 'TAO/IIOP/lib/optable.cpp')
-rw-r--r--TAO/IIOP/lib/optable.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/TAO/IIOP/lib/optable.cpp b/TAO/IIOP/lib/optable.cpp
index 3766fbcf578..d78817b8a47 100644
--- a/TAO/IIOP/lib/optable.cpp
+++ b/TAO/IIOP/lib/optable.cpp
@@ -70,9 +70,7 @@ TAO_Linear_OpTable::find (const CORBA_String &opname,
{
ACE_ASSERT (this->next_ <= this->tablesize_);
- for (CORBA_ULong i;
- i < this->next_;
- i++)
+ for (CORBA_ULong i = 0; i < this->next_; i++)
if (!ACE_OS::strncmp (opname, this->tbl_[i].opname, ACE_OS::strlen (opname)))
{
skel_ptr = this->tbl_[i].skel_ptr;