Fixed compiler warning
[strongswan.git] / src / libcharon / plugins / tnccs_11 / messages / tnccs_tncs_contact_info_msg.c
index 394e645..b8aac30 100644 (file)
@@ -51,11 +51,6 @@ METHOD(tnccs_msg_t, get_node, xmlNodePtr,
        return this->node;
 }
 
-METHOD(tnccs_msg_t, process, status_t,
-       private_tnccs_tncs_contact_info_msg_t *this)
-{
-       return SUCCESS;
-}
 METHOD(tnccs_msg_t, destroy, void,
        private_tnccs_tncs_contact_info_msg_t *this)
 {
@@ -65,7 +60,8 @@ METHOD(tnccs_msg_t, destroy, void,
 /**
  * See header
  */
-tnccs_msg_t *tnccs_tncs_contact_info_msg_create_from_node(xmlNodePtr node)
+tnccs_msg_t *tnccs_tncs_contact_info_msg_create_from_node(xmlNodePtr node,
+                                                                                                       linked_list_t *errors)
 {
        private_tnccs_tncs_contact_info_msg_t *this;
 
@@ -74,7 +70,6 @@ tnccs_msg_t *tnccs_tncs_contact_info_msg_create_from_node(xmlNodePtr node)
                        .tnccs_msg_interface = {
                                .get_type = _get_type,
                                .get_node = _get_node,
-                               .process = _process,
                                .destroy = _destroy,
                        },
                },
@@ -91,14 +86,13 @@ tnccs_msg_t *tnccs_tncs_contact_info_msg_create_from_node(xmlNodePtr node)
 tnccs_msg_t *tnccs_tncs_contact_info_msg_create(void)
 {
        private_tnccs_tncs_contact_info_msg_t *this;
-       xmlNodePtr n, n2;
+       xmlNodePtr n /*, n2 */;
 
        INIT(this,
                .public = {
                        .tnccs_msg_interface = {
                                .get_type = _get_type,
                                .get_node = _get_node,
-                               .process = _process,
                                .destroy = _destroy,
                        },
                },