summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc/xmlrpc_serialize.c
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-03 14:25:13 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-03 14:25:13 (GMT)
commitade034a74766ea50c14f7beb0778031b964e39fa (patch)
tree3756129a4b42d3d3b274a4f1c1f9933bf0f9754d /Utilities/cmxmlrpc/xmlrpc_serialize.c
parent78ca400d33ee7608dcddbda80143fb5768da38e2 (diff)
downloadCMake-ade034a74766ea50c14f7beb0778031b964e39fa.zip
CMake-ade034a74766ea50c14f7beb0778031b964e39fa.tar.gz
CMake-ade034a74766ea50c14f7beb0778031b964e39fa.tar.bz2
COMP: Remove warnings on borland
Diffstat (limited to 'Utilities/cmxmlrpc/xmlrpc_serialize.c')
-rw-r--r--Utilities/cmxmlrpc/xmlrpc_serialize.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/Utilities/cmxmlrpc/xmlrpc_serialize.c b/Utilities/cmxmlrpc/xmlrpc_serialize.c
index 6a62ed1..2ff27a0 100644
--- a/Utilities/cmxmlrpc/xmlrpc_serialize.c
+++ b/Utilities/cmxmlrpc/xmlrpc_serialize.c
@@ -133,9 +133,6 @@ escape_string(xmlrpc_env * const env,
XMLRPC_ASSERT_ENV_OK(env);
XMLRPC_ASSERT(str != NULL);
- /* Set up our error-handling preconditions. */
- retval = NULL;
-
/* Sanity-check this string before we print it. */
#if !defined NDEBUG && defined HAVE_UNICODE_WCHAR
sanity_check_utf8(str, len);
@@ -597,9 +594,6 @@ xmlrpc_serialize_fault(xmlrpc_env *env,
XMLRPC_ASSERT(output != NULL);
XMLRPC_ASSERT(fault != NULL && fault->fault_occurred);
- /* Set up our error-handling preconditions. */
- strct = NULL;
-
/* Build a fault structure. */
strct = xmlrpc_build_value(env, "{s:i,s:s}",
"faultCode", (xmlrpc_int32) fault->fault_code,