diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-03-01 16:21:56 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-03-01 16:21:56 (GMT) |
commit | 693b7447a4760292a65b5fd0ddcec1150b212e42 (patch) | |
tree | 1731630eb98593e9f7bddc19adee91cfbf1e7084 | |
parent | e7697cea94ef9c23e057820c07e47a213213e7e3 (diff) | |
download | CMake-693b7447a4760292a65b5fd0ddcec1150b212e42.zip CMake-693b7447a4760292a65b5fd0ddcec1150b212e42.tar.gz CMake-693b7447a4760292a65b5fd0ddcec1150b212e42.tar.bz2 |
COMP: Attempt to remove warnings
-rw-r--r-- | Utilities/cmxmlrpc/synch_client.c | 1 | ||||
-rw-r--r-- | Utilities/cmxmlrpc/xmlrpc_curl_transport.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Utilities/cmxmlrpc/synch_client.c b/Utilities/cmxmlrpc/synch_client.c index 15a608f..0193e0b 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 <stdio.h> +#include <stdlib.h> #include <xmlrpc.h> #include <xmlrpc_client.h> diff --git a/Utilities/cmxmlrpc/xmlrpc_curl_transport.c b/Utilities/cmxmlrpc/xmlrpc_curl_transport.c index 66cc55d..14399db 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); |