diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-03-02 16:04:32 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-03-02 16:04:32 (GMT) |
commit | 66a61e9c745660491e776fdbaed6d6ca8bdd9a52 (patch) | |
tree | 477fece1ea9e717e5663e10f8c6d140d315c4498 /Utilities | |
parent | 78d85f4af8bc77d6b429099251ca471e170f56b1 (diff) | |
download | CMake-66a61e9c745660491e776fdbaed6d6ca8bdd9a52.zip CMake-66a61e9c745660491e776fdbaed6d6ca8bdd9a52.tar.gz CMake-66a61e9c745660491e776fdbaed6d6ca8bdd9a52.tar.bz2 |
COMP: Remove more warnings
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmxmlrpc/xmlrpc_client.c | 4 | ||||
-rw-r--r-- | Utilities/cmxmlrpc/xmlrpc_parse.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Utilities/cmxmlrpc/xmlrpc_client.c b/Utilities/cmxmlrpc/xmlrpc_client.c index bce5538..c14ac48 100644 --- a/Utilities/cmxmlrpc/xmlrpc_client.c +++ b/Utilities/cmxmlrpc/xmlrpc_client.c @@ -373,7 +373,7 @@ xmlrpc_client_call_va(xmlrpc_env * const envP, va_list args) { xmlrpc_value * argP; - xmlrpc_value * retval; + xmlrpc_value * retval = 0; xmlrpc_env argenv; const char * suffix; @@ -805,7 +805,7 @@ asynchComplete(call_info * const callInfoP, failed the request. -----------------------------------------------------------------------------*/ xmlrpc_env env; - xmlrpc_value * responseP; + xmlrpc_value * responseP = 0; xmlrpc_env_init(&env); diff --git a/Utilities/cmxmlrpc/xmlrpc_parse.c b/Utilities/cmxmlrpc/xmlrpc_parse.c index ec14773..0ca2f7b 100644 --- a/Utilities/cmxmlrpc/xmlrpc_parse.c +++ b/Utilities/cmxmlrpc/xmlrpc_parse.c @@ -123,7 +123,7 @@ xmlrpc_atoi(xmlrpc_env *env, char *str, size_t stringLength, i = 0; /* Check for leading white space. */ - if (isspace(str[0])) + if (isspace((int)(str[0]))) XMLRPC_FAIL1(env, XMLRPC_PARSE_ERROR, "\"%s\" must not contain whitespace", str); @@ -171,7 +171,7 @@ xmlrpc_atod(xmlrpc_env *env, char *str, size_t stringLength) d = 0.0; /* Check for leading white space. */ - if (isspace(str[0])) + if (isspace((int)(str[0]))) XMLRPC_FAIL1(env, XMLRPC_PARSE_ERROR, "\"%s\" must not contain whitespace", str); |