diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-10-08 19:54:02 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-10-08 19:54:02 +0000 |
commit | 90abf1e72739e70447da3debc4113d2f4685050a (patch) | |
tree | ba945ef2e731c4ae866ad2745f7f59e8b10f7ec1 | |
parent | aeb984ffce7b7423b15aea52c06395b97af9b69d (diff) | |
download | ATCD-90abf1e72739e70447da3debc4113d2f4685050a.tar.gz |
Minor fixes to remove warnings.
-rw-r--r-- | TAO/examples/Buffered_Oneways/server.cpp | 2 | ||||
-rw-r--r-- | TAO/tao/Buffering_Constraint_Policy.h | 6 | ||||
-rw-r--r-- | TAO/tao/Sync_Strategies.cpp | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/TAO/examples/Buffered_Oneways/server.cpp b/TAO/examples/Buffered_Oneways/server.cpp index e16614365a1..cf6412faf12 100644 --- a/TAO/examples/Buffered_Oneways/server.cpp +++ b/TAO/examples/Buffered_Oneways/server.cpp @@ -106,7 +106,5 @@ main (int argc, char *argv[]) } ACE_ENDTRY; - ACE_CHECK_RETURN (-1); - return 0; } diff --git a/TAO/tao/Buffering_Constraint_Policy.h b/TAO/tao/Buffering_Constraint_Policy.h index 5ae69bf9292..fb7a15b6efc 100644 --- a/TAO/tao/Buffering_Constraint_Policy.h +++ b/TAO/tao/Buffering_Constraint_Policy.h @@ -68,11 +68,11 @@ public: virtual PortableServer::POA_ptr _default_POA (CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()); private: - PortableServer::POA_var poa_; - // The default poa - TAO::BufferingConstraint buffering_constraint_; // The attribute + + PortableServer::POA_var poa_; + // The default poa }; #if defined(_MSC_VER) diff --git a/TAO/tao/Sync_Strategies.cpp b/TAO/tao/Sync_Strategies.cpp index 5b109bf7b36..4293795b6a8 100644 --- a/TAO/tao/Sync_Strategies.cpp +++ b/TAO/tao/Sync_Strategies.cpp @@ -110,7 +110,7 @@ TAO_None_Sync_Strategy::send (TAO_Transport &transport, } } - size_t total_length = queued_message->total_length (); + ssize_t total_length = queued_message->total_length (); // If successful in sending the complete queued message. if (result == total_length) |