summaryrefslogtreecommitdiff
path: root/TAO/tao/CDR.i
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-23 16:17:59 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-23 16:17:59 +0000
commit773025d066460581d1092a3fd21099a5c0b678db (patch)
tree1d12c3a4cf0e916d4ab447148b1a616e8836f0d9 /TAO/tao/CDR.i
parent56b02badfc1b9dd565982756b9172e89f4e5edc1 (diff)
downloadATCD-773025d066460581d1092a3fd21099a5c0b678db.tar.gz
(operator<<): wrapped several final return statements with
ACE_NOTREACHED to avoid unreachable statement warnings from DEC cxx.
Diffstat (limited to 'TAO/tao/CDR.i')
-rw-r--r--TAO/tao/CDR.i6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/CDR.i b/TAO/tao/CDR.i
index 9e2cbb627ab..ff2091c4ee4 100644
--- a/TAO/tao/CDR.i
+++ b/TAO/tao/CDR.i
@@ -782,7 +782,7 @@ operator<< (TAO_OutputCDR& cdr, const CORBA::Any &x)
return 0;
}
TAO_ENDTRY;
- return 0;
+ ACE_NOTREACHED (return 0);
}
ACE_INLINE CORBA_Boolean
@@ -804,7 +804,7 @@ operator<< (TAO_OutputCDR& cdr, const CORBA::Object *x)
return 0;
}
TAO_ENDTRY;
- return 0;
+ ACE_NOTREACHED (return 0);
}
ACE_INLINE CORBA_Boolean
@@ -826,7 +826,7 @@ operator<< (TAO_OutputCDR& cdr, const CORBA::TypeCode *x)
return 0;
}
TAO_ENDTRY;
- return 0;
+ ACE_NOTREACHED (return 0);
}
// The following use the helper classes