From d224858e1f19ccd1c5d250aee0e8c7e7ec2ece47 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Wed, 16 Mar 2005 13:24:37 -0500 Subject: COMP: Remove warnings --- Utilities/cmxmlrpc/xmlrpc_curl_transport.c | 6 +++--- 1 file 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); -- cgit v0.12