From 693b7447a4760292a65b5fd0ddcec1150b212e42 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Tue, 1 Mar 2005 11:21:56 -0500 Subject: [PATCH] COMP: Attempt to remove warnings --- Utilities/cmxmlrpc/synch_client.c | 1 + Utilities/cmxmlrpc/xmlrpc_curl_transport.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Utilities/cmxmlrpc/synch_client.c b/Utilities/cmxmlrpc/synch_client.c index 15a608fe5..0193e0bf9 100644 --- a/Utilities/cmxmlrpc/synch_client.c +++ b/Utilities/cmxmlrpc/synch_client.c @@ -1,6 +1,7 @@ /* A simple synchronous XML-RPC client written in C. */ #include +#include #include #include diff --git a/Utilities/cmxmlrpc/xmlrpc_curl_transport.c b/Utilities/cmxmlrpc/xmlrpc_curl_transport.c index 66cc55d08..14399db90 100644 --- a/Utilities/cmxmlrpc/xmlrpc_curl_transport.c +++ b/Utilities/cmxmlrpc/xmlrpc_curl_transport.c @@ -134,6 +134,7 @@ initWindowsStuff(xmlrpc_env * const envP) { wVersionRequested = MAKEWORD(1, 1); err = WSAStartup(wVersionRequested, &wsaData); + (void)err; if (LOBYTE(wsaData.wVersion) != 1 || HIBYTE( wsaData.wVersion) != 1) { /* Tell the user that we couldn't find a useable */ @@ -597,6 +598,7 @@ finishRpc(struct list_head * const headerP, #endif rpcP->threadExists = FALSE; + (void)result; } XMLRPC_MEMBLOCK_FREE(char, rpcP->responseXmlP);