diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-03-16 18:24:37 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-03-16 18:24:37 (GMT) |
commit | d224858e1f19ccd1c5d250aee0e8c7e7ec2ece47 (patch) | |
tree | 87cbb5b8a90da2d0904c057c7f2cc24434e6e4f6 /Utilities/cmxmlrpc | |
parent | d30868d952e13e5814d3ed50d96af3ef33db4177 (diff) | |
download | CMake-d224858e1f19ccd1c5d250aee0e8c7e7ec2ece47.zip CMake-d224858e1f19ccd1c5d250aee0e8c7e7ec2ece47.tar.gz CMake-d224858e1f19ccd1c5d250aee0e8c7e7ec2ece47.tar.bz2 |
COMP: Remove warnings
Diffstat (limited to 'Utilities/cmxmlrpc')
-rw-r--r-- | Utilities/cmxmlrpc/xmlrpc_curl_transport.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Utilities/cmxmlrpc/xmlrpc_curl_transport.c b/Utilities/cmxmlrpc/xmlrpc_curl_transport.c index deca620..d617f66 100644 --- a/Utilities/cmxmlrpc/xmlrpc_curl_transport.c +++ b/Utilities/cmxmlrpc/xmlrpc_curl_transport.c @@ -463,6 +463,7 @@ performCurlTransaction(xmlrpc_env * const envP, } +#if defined(HAVE_PTHREADS) static void doAsyncRpc2(void * const arg) { @@ -501,7 +502,6 @@ doAsyncRpc(void * arg) { #endif -#if defined(HAVE_PTHREADS) static void createRpcThread(xmlrpc_env * const envP, rpc * const rpcP, @@ -651,17 +651,17 @@ finishRpc(struct list_head * const headerP, rpc * const rpcP = headerP->itemP; if (rpcP->threadExists) { +#if defined(HAVE_PTHREADS) void *status; int result; -#if defined(HAVE_PTHREADS) result = pthread_join(rpcP->thread, &status); + (void)result; #else abort(); #endif rpcP->threadExists = FALSE; - (void)result; } XMLRPC_MEMBLOCK_FREE(char, rpcP->responseXmlP); |