COMP: Remove warnings

This commit is contained in:
Andy Cedilnik 2005-03-16 13:24:37 -05:00
parent d30868d952
commit d224858e1f

View File

@ -463,6 +463,7 @@ performCurlTransaction(xmlrpc_env * const envP,
} }
#if defined(HAVE_PTHREADS)
static void static void
doAsyncRpc2(void * const arg) { doAsyncRpc2(void * const arg) {
@ -501,7 +502,6 @@ doAsyncRpc(void * arg) {
#endif #endif
#if defined(HAVE_PTHREADS)
static void static void
createRpcThread(xmlrpc_env * const envP, createRpcThread(xmlrpc_env * const envP,
rpc * const rpcP, rpc * const rpcP,
@ -651,17 +651,17 @@ finishRpc(struct list_head * const headerP,
rpc * const rpcP = headerP->itemP; rpc * const rpcP = headerP->itemP;
if (rpcP->threadExists) { if (rpcP->threadExists) {
#if defined(HAVE_PTHREADS)
void *status; void *status;
int result; int result;
#if defined(HAVE_PTHREADS)
result = pthread_join(rpcP->thread, &status); result = pthread_join(rpcP->thread, &status);
(void)result;
#else #else
abort(); abort();
#endif #endif
rpcP->threadExists = FALSE; rpcP->threadExists = FALSE;
(void)result;
} }
XMLRPC_MEMBLOCK_FREE(char, rpcP->responseXmlP); XMLRPC_MEMBLOCK_FREE(char, rpcP->responseXmlP);