summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc/xmlrpc_expat.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_expat.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_expat.c')
-rw-r--r--Utilities/cmxmlrpc/xmlrpc_expat.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Utilities/cmxmlrpc/xmlrpc_expat.c b/Utilities/cmxmlrpc/xmlrpc_expat.c
index f1f4523..7fbc0c9 100644
--- a/Utilities/cmxmlrpc/xmlrpc_expat.c
+++ b/Utilities/cmxmlrpc/xmlrpc_expat.c
@@ -73,7 +73,6 @@ static xml_element *xml_element_new (xmlrpc_env *env, char *name)
XMLRPC_ASSERT(name != NULL);
/* Set up our error-handling preconditions. */
- retval = NULL;
name_valid = cdata_valid = children_valid = 0;
/* Allocate our xml_element structure. */
@@ -256,9 +255,6 @@ start_element (void *user_data, XML_Char *name, XML_Char **atts ATTR_UNUSED)
context = (parse_context*) user_data;
if (!context->env->fault_occurred) {
- /* Set up our error-handling preconditions. */
- elem = NULL;
-
/* Build a new element. */
elem = xml_element_new(context->env, name);
XMLRPC_FAIL_IF_FAULT(context->env);
@@ -352,7 +348,6 @@ xml_element *xml_parse (xmlrpc_env *env, const char *xml_data, int xml_len)
XMLRPC_ASSERT(xml_data != NULL && xml_len >= 0);
/* Set up our error-handling preconditions. */
- parser = NULL;
context.root = NULL;
/* Set up the rest of our parse context. */