summaryrefslogtreecommitdiff
path: root/TAO/IIOP/lib/optable.cpp
diff options
context:
space:
mode:
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;