Przeglądaj źródła

COMP: Attempt to remove warnings

Andy Cedilnik 21 lat temu
rodzic
commit
693b7447a4

+ 1 - 0
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>

+ 2 - 0
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);