summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc/xmlrpc_registry.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_registry.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_registry.c')
-rw-r--r--Utilities/cmxmlrpc/xmlrpc_registry.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/Utilities/cmxmlrpc/xmlrpc_registry.c b/Utilities/cmxmlrpc/xmlrpc_registry.c
index 41e5ac1..43f6463 100644
--- a/Utilities/cmxmlrpc/xmlrpc_registry.c
+++ b/Utilities/cmxmlrpc/xmlrpc_registry.c
@@ -55,7 +55,6 @@ xmlrpc_registry_new(xmlrpc_env *env) {
XMLRPC_ASSERT_ENV_OK(env);
/* Error-handling preconditions. */
- methods = NULL;
registry = NULL;
registry_valid = 0;
@@ -163,9 +162,6 @@ xmlrpc_registry_add_method_w_doc(xmlrpc_env *env,
XMLRPC_ASSERT_PTR_OK(method_name);
XMLRPC_ASSERT_PTR_OK(method);
- /* Error-handling preconditions. */
- method_info = NULL;
-
/* Store our method and user data into our hash table. */
method_info = xmlrpc_build_value(env, "(ppss)", (void*) method, user_data,
signature, help);
@@ -198,9 +194,6 @@ xmlrpc_registry_set_default_method(xmlrpc_env *env,
XMLRPC_ASSERT_PTR_OK(registry);
XMLRPC_ASSERT_PTR_OK(handler);
- /* Error-handling preconditions. */
- method_info = NULL;
-
/* Store our method and user data into our hash table. */
method_info = xmlrpc_build_value(env, "(pp)", (void*) handler, user_data);
XMLRPC_FAIL_IF_FAULT(env);
@@ -236,9 +229,6 @@ xmlrpc_registry_set_preinvoke_method(xmlrpc_env *env,
XMLRPC_ASSERT_PTR_OK(registry);
XMLRPC_ASSERT_PTR_OK(handler);
- /* Error-handling preconditions. */
- method_info = NULL;
-
/* Store our method and user data into our hash table. */
method_info = xmlrpc_build_value(env, "(pp)", (void*) handler, user_data);
XMLRPC_FAIL_IF_FAULT(env);