From 3961fec217f9f1d1395abdb1afd73612429198b2 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 13 Jan 2004 15:58:01 +0000 Subject: Source ceanup --- ext/soap/php_schema.c | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'ext/soap/php_schema.c') diff --git a/ext/soap/php_schema.c b/ext/soap/php_schema.c index 054b5085cc..4d2e3a373f 100644 --- a/ext/soap/php_schema.c +++ b/ext/soap/php_schema.c @@ -447,17 +447,6 @@ static int schema_restriction_var_int(xmlNodePtr val, sdlRestrictionIntPtr *valp return TRUE; } -void delete_restriction_var_int(void *rvi) -{ - sdlRestrictionIntPtr ptr = *((sdlRestrictionIntPtr*)rvi); - if (ptr) { - if (ptr->id) { - free(ptr->id); - } - free(ptr); - } -} - static int schema_restriction_var_char(xmlNodePtr val, sdlRestrictionCharPtr *valptr) { xmlAttrPtr fixed, value, id; @@ -490,20 +479,6 @@ static int schema_restriction_var_char(xmlNodePtr val, sdlRestrictionCharPtr *va return TRUE; } -void delete_schema_restriction_var_char(void *srvc) -{ - sdlRestrictionCharPtr ptr = *((sdlRestrictionCharPtr*)srvc); - if (ptr) { - if (ptr->id) { - free(ptr->id); - } - if (ptr->value) { - free(ptr->value); - } - free(ptr); - } -} - /* From simpleContent (not supported):