summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc/xmlrpc_utf8.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_utf8.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_utf8.c')
-rw-r--r--Utilities/cmxmlrpc/xmlrpc_utf8.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/Utilities/cmxmlrpc/xmlrpc_utf8.c b/Utilities/cmxmlrpc/xmlrpc_utf8.c
index 4e31362..353c72e 100644
--- a/Utilities/cmxmlrpc/xmlrpc_utf8.c
+++ b/Utilities/cmxmlrpc/xmlrpc_utf8.c
@@ -277,9 +277,6 @@ xmlrpc_mem_block *xmlrpc_utf8_to_wcs (xmlrpc_env *env,
xmlrpc_mem_block *output;
size_t wcs_length;
- /* Error-handling preconditions. */
- output = NULL;
-
/* Allocate a memory block large enough to hold any possible output.
** We assume that each byte of the input may decode to a whcar_t. */
output = XMLRPC_TYPED_MEM_BLOCK_NEW(wchar_t, env, utf8_len);
@@ -326,9 +323,6 @@ xmlrpc_mem_block *xmlrpc_wcs_to_utf8 (xmlrpc_env *env,
XMLRPC_ASSERT_ENV_OK(env);
XMLRPC_ASSERT_PTR_OK(wcs_data);
- /* Error-handling preconditions. */
- output = NULL;
-
/* Allocate a memory block large enough to hold any possible output.
** We assume that every wchar might encode to the maximum length. */
estimate = wcs_len * MAX_ENCODED_BYTES;