diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2013-04-19 11:16:17 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2013-04-19 11:16:17 +0000 |
commit | 7b2c6d8e1a0b696523a63592629417b593c12c17 (patch) | |
tree | 6ed3926e3d6581c2674ccd5aa27a79087115fa83 /ACE/examples | |
parent | 1e0f50015f5970f196d36d9c4daf9ae27c499986 (diff) | |
download | ATCD-7b2c6d8e1a0b696523a63592629417b593c12c17.tar.gz |
Fri Apr 19 11:15:43 UTC 2013 Johnny Willemsen <jwillemsen@remedy.nl>
* examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp:
* examples/IPC_SAP/SSL_SAP/SSL-client.cpp:
Fixed warnings in single threaded builds
Diffstat (limited to 'ACE/examples')
-rw-r--r-- | ACE/examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp | 4 | ||||
-rw-r--r-- | ACE/examples/IPC_SAP/SSL_SAP/SSL-client.cpp | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/ACE/examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp b/ACE/examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp index dc77a267b17..04c792092c5 100644 --- a/ACE/examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp +++ b/ACE/examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp @@ -20,8 +20,6 @@ #include "ace/OS_NS_unistd.h" #include "ace/OS_main.h" - - Options::Options (void) : host_ (ACE_DEFAULT_SERVER_HOST), port_ (ACE_DEFAULT_SERVER_PORT), @@ -409,7 +407,7 @@ run_client (void) else ACE_Thread_Manager::instance ()->wait (); #else - *(OPTIONS::instance ()->thr_func) (); + (void) *(OPTIONS::instance ()->thr_func) (); #endif /* ACE_HAS_THREADS */ return 0; } diff --git a/ACE/examples/IPC_SAP/SSL_SAP/SSL-client.cpp b/ACE/examples/IPC_SAP/SSL_SAP/SSL-client.cpp index f05804781b0..2196e3e71df 100644 --- a/ACE/examples/IPC_SAP/SSL_SAP/SSL-client.cpp +++ b/ACE/examples/IPC_SAP/SSL_SAP/SSL-client.cpp @@ -19,8 +19,6 @@ #include "SSL-client.h" - - Options::Options (void) : host_ (ACE_DEFAULT_SERVER_HOST), port_ (ACE_DEFAULT_SERVER_PORT), @@ -400,7 +398,7 @@ run_client (void) else ACE_Thread_Manager::instance ()->wait (); #else - *(OPTIONS::instance ()->thr_func) (); + (void) *(OPTIONS::instance ()->thr_func) (); #endif /* ACE_HAS_THREADS */ return 0; } |