]> granicus.if.org Git - php/commitdiff
MFB: Removed unused variables.
authorIlia Alshanetsky <iliaa@php.net>
Tue, 13 Jun 2006 20:20:03 +0000 (20:20 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 13 Jun 2006 20:20:03 +0000 (20:20 +0000)
ext/dom/element.c

index df95e877b0047e26b2b6e19a68e82d6e91e7e77f..eecd1c962f494fa18779691b4f4f4a9b6e85f901 100644 (file)
@@ -971,11 +971,11 @@ Since: DOM Level 3
 */
 PHP_FUNCTION(dom_element_set_id_attribute_ns)
 {
-       zval *id, *rv = NULL;
+       zval *id;
        xmlNodePtr elemp;
        xmlAttrPtr attrp;
        dom_object *intern;
-       int uri_len, name_len, ret;
+       int uri_len, name_len;
        char *uri, *name;
        zend_bool is_id;
 
@@ -1012,8 +1012,6 @@ PHP_FUNCTION(dom_element_set_id_attribute_node)
        xmlNode *nodep;
        xmlAttrPtr attrp;
        dom_object *intern, *attrobj;
-       char *name;
-       int name_len;
        zend_bool is_id;
 
        if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "OOb", &id, dom_element_class_entry, &node, dom_attr_class_entry, &is_id) == FAILURE) {