You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2006/12/10 14:19:44 UTC
svn commit: r485181 -
/webservices/axis2/trunk/c/modules/core/description/msg.c
Author: dinesh
Date: Sun Dec 10 05:19:43 2006
New Revision: 485181
URL: http://svn.apache.org/viewvc?view=rev&rev=485181
Log:
remove unused header variable
Modified:
webservices/axis2/trunk/c/modules/core/description/msg.c
Modified: webservices/axis2/trunk/c/modules/core/description/msg.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/description/msg.c?view=diff&rev=485181&r1=485180&r2=485181
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/msg.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/msg.c Sun Dec 10 05:19:43 2006
@@ -28,8 +28,6 @@
axis2_array_list_t *flow;
/** name of the message */
axis2_char_t *name;
- /** list of SOAP headers */
- axis2_array_list_t *soap_headers;
/** XML schema element qname */
axis2_qname_t *element_qname;
/** direction of message */
@@ -149,7 +147,6 @@
msg_impl->parent = NULL;
msg_impl->flow = NULL;
msg_impl->name = NULL;
- msg_impl->soap_headers = NULL;
msg_impl->element_qname = NULL;
msg_impl->direction = NULL;
msg_impl->msg.ops = NULL;
@@ -162,12 +159,6 @@
return NULL;
}
- msg_impl->soap_headers = axis2_array_list_create(env, 0);
- if (NULL == msg_impl->soap_headers)
- {
- axis2_msg_free(&(msg_impl->msg), env);
- return NULL;
- }
msg_impl->flow = axis2_array_list_create(env, 0);
if (NULL == msg_impl->flow)
@@ -232,19 +223,6 @@
}
AXIS2_ARRAY_LIST_FREE(msg_impl->flow, env);
msg_impl->flow = NULL;
- }
-
- if (msg_impl->soap_headers)
- {
- int i = 0;
- int size = 0;
- size = AXIS2_ARRAY_LIST_SIZE(msg_impl->soap_headers, env);
- for (i = 0; i < size; i++)
- {
- /* TODO : free the content */
- }
- AXIS2_ARRAY_LIST_FREE(msg_impl->soap_headers, env);
- msg_impl->soap_headers = NULL;
}
if (msg_impl->name)
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org