summaryrefslogtreecommitdiff
path: root/ACE
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2013-04-19 11:16:17 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2013-04-19 11:16:17 +0000
commit7b2c6d8e1a0b696523a63592629417b593c12c17 (patch)
tree6ed3926e3d6581c2674ccd5aa27a79087115fa83 /ACE
parent1e0f50015f5970f196d36d9c4daf9ae27c499986 (diff)
downloadATCD-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')
-rw-r--r--ACE/ChangeLog6
-rw-r--r--ACE/examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp4
-rw-r--r--ACE/examples/IPC_SAP/SSL_SAP/SSL-client.cpp4
3 files changed, 8 insertions, 6 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index 8a1c836d96e..edb3fdde15f 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,3 +1,9 @@
+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
+
Thu Apr 18 16:21:32 UTC 2013 Huang-Ming Huang <huangh@ociweb.com>
* ace/Log_Category.h:
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;
}