Gitweb links:

...log 
http://git.netsurf-browser.org/libdom.git/shortlog/081c488176a3c50521bbc6faa26351f76631420c
...commit 
http://git.netsurf-browser.org/libdom.git/commit/081c488176a3c50521bbc6faa26351f76631420c
...tree 
http://git.netsurf-browser.org/libdom.git/tree/081c488176a3c50521bbc6faa26351f76631420c

The branch, master has been updated
       via  081c488176a3c50521bbc6faa26351f76631420c (commit)
      from  0a10aeb104d3595def8cfca607abf0babda13c00 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/libdom.git/commit/?id=081c488176a3c50521bbc6faa26351f76631420c
commit 081c488176a3c50521bbc6faa26351f76631420c
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    Attempt to appease m68k CI cross-compiler.

diff --git a/src/html/html_tablesection_element.c 
b/src/html/html_tablesection_element.c
index 6499b72..e2cd3dd 100644
--- a/src/html/html_tablesection_element.c
+++ b/src/html/html_tablesection_element.c
@@ -235,7 +235,7 @@ dom_exception dom_html_table_section_element_insert_row(
        dom_html_collection *rows;      /*< The collection of rows in input 
table_section_element*/
        uint32_t len;                   /*< The size of the row collection */
        dom_exception exp;              /*< Variable for getting the 
exceptions*/
-       dom_node *new_node;
+       dom_html_table_row_element *new_node;
 
        struct dom_html_element_create_params params = {
                .type = DOM_HTML_ELEMENT_TYPE_TR,
@@ -253,14 +253,12 @@ dom_exception dom_html_table_section_element_insert_row(
        exp = dom_html_table_section_element_get_rows(element, &rows);
        if(exp != DOM_NO_ERR) {
                dom_node_unref(new_node);
-               new_node = NULL;
                return exp;
        }
 
        exp = dom_html_collection_get_length(rows, &len);
        if (exp != DOM_NO_ERR) {
                dom_node_unref(new_node);
-               new_node = NULL;
                dom_html_collection_unref(rows);
                return exp;
        }
@@ -269,7 +267,6 @@ dom_exception dom_html_table_section_element_insert_row(
                /* Check for index validity */
                dom_html_collection_unref(rows);
                dom_node_unref(new_node);
-               new_node = NULL;
                return DOM_INDEX_SIZE_ERR;
 
        } else if (index == -1 || index == (int32_t)len) {
@@ -286,7 +283,6 @@ dom_exception dom_html_table_section_element_insert_row(
        }
 
        dom_node_unref(new_node);
-       new_node = NULL;
 
        return exp;
 }


-----------------------------------------------------------------------

Summary of changes:
 src/html/html_tablesection_element.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/html/html_tablesection_element.c 
b/src/html/html_tablesection_element.c
index 6499b72..e2cd3dd 100644
--- a/src/html/html_tablesection_element.c
+++ b/src/html/html_tablesection_element.c
@@ -235,7 +235,7 @@ dom_exception dom_html_table_section_element_insert_row(
        dom_html_collection *rows;      /*< The collection of rows in input 
table_section_element*/
        uint32_t len;                   /*< The size of the row collection */
        dom_exception exp;              /*< Variable for getting the 
exceptions*/
-       dom_node *new_node;
+       dom_html_table_row_element *new_node;
 
        struct dom_html_element_create_params params = {
                .type = DOM_HTML_ELEMENT_TYPE_TR,
@@ -253,14 +253,12 @@ dom_exception dom_html_table_section_element_insert_row(
        exp = dom_html_table_section_element_get_rows(element, &rows);
        if(exp != DOM_NO_ERR) {
                dom_node_unref(new_node);
-               new_node = NULL;
                return exp;
        }
 
        exp = dom_html_collection_get_length(rows, &len);
        if (exp != DOM_NO_ERR) {
                dom_node_unref(new_node);
-               new_node = NULL;
                dom_html_collection_unref(rows);
                return exp;
        }
@@ -269,7 +267,6 @@ dom_exception dom_html_table_section_element_insert_row(
                /* Check for index validity */
                dom_html_collection_unref(rows);
                dom_node_unref(new_node);
-               new_node = NULL;
                return DOM_INDEX_SIZE_ERR;
 
        } else if (index == -1 || index == (int32_t)len) {
@@ -286,7 +283,6 @@ dom_exception dom_html_table_section_element_insert_row(
        }
 
        dom_node_unref(new_node);
-       new_node = NULL;
 
        return exp;
 }


-- 
Document Object Model library

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to