summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc/xmlrpc_serialize.c
diff options
context:
space:
mode:
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,