COMP: Attempt to remove warnings

This commit is contained in:
Andy Cedilnik 2005-03-01 11:21:56 -05:00
parent e7697cea94
commit 693b7447a4
2 changed files with 3 additions and 0 deletions

View File

@ -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>

View File

@ -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);