diff options
author | marina <marina@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-09 18:06:03 +0000 |
---|---|---|
committer | marina <marina@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-09 18:06:03 +0000 |
commit | 3c831a2c768f8495bcf256f871a332fc6b2f016e (patch) | |
tree | 312ff0a56e5fa4909b4016e48d6815b4eab4cef5 | |
parent | fe5c8f81a7b6c72a097ed0b01cf26938e08b1987 (diff) | |
download | ATCD-3c831a2c768f8495bcf256f871a332fc6b2f016e.tar.gz |
added a return statement to avoid warnings.
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Naming/Persistent_Context_Index_T.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Persistent_Context_Index_T.cpp b/TAO/orbsvcs/orbsvcs/Naming/Persistent_Context_Index_T.cpp index bd7e195c419..ab443970f19 100644 --- a/TAO/orbsvcs/orbsvcs/Naming/Persistent_Context_Index_T.cpp +++ b/TAO/orbsvcs/orbsvcs/Naming/Persistent_Context_Index_T.cpp @@ -192,6 +192,10 @@ TAO_Persistent_Context_Index<ACE_MEM_POOL_2, ACE_LOCK>::init (void) } ACE_ENDTRY; ACE_CHECK_RETURN (-1); + + // Below will never be reached, but the compiler is not smart to + // figure it out. This will keep the warnings away. + return -1; } else |