summaryrefslogtreecommitdiff
path: root/TAO/tao
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-18 16:03:32 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-18 16:03:32 +0000
commit0b51ec79499bdb97d89d2042ea9a3932664aef44 (patch)
treefa72bd4b378e0f808b1e89bc034b290a02da29ab /TAO/tao
parentdb2af04a2a2a5ad5d823a5bb839156a60d0f384c (diff)
downloadATCD-0b51ec79499bdb97d89d2042ea9a3932664aef44.tar.gz
(private_equal): wrapped a break with ACE_NOTREACHED
Diffstat (limited to 'TAO/tao')
-rw-r--r--TAO/tao/typecode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/typecode.cpp b/TAO/tao/typecode.cpp
index 7e8c10cf06f..f7d82a72f63 100644
--- a/TAO/tao/typecode.cpp
+++ b/TAO/tao/typecode.cpp
@@ -383,7 +383,7 @@ CORBA_TypeCode::skip_typecode (CDR &stream)
case CORBA::tk_alias:
case CORBA::tk_except:
return (stream.get_ulong (temp) != CORBA::B_FALSE
- && stream.rd_ptr (temp) != CORBA::B_FALSE);
+ && stream.rd_ptr (temp) != CORBA::B_FALSE);
}
return CORBA::B_TRUE;
@@ -636,7 +636,7 @@ CORBA_TypeCode::private_equal (CORBA::TypeCode_ptr tc,
// indirection offset must be same
return CORBA::B_TRUE;
}
- break;
+ ACE_NOTREACHED (break);
default:
return CORBA::B_FALSE;
}