Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/a268252629a0f6b31e5f0189454144676dd7ffaa
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/a268252629a0f6b31e5f0189454144676dd7ffaa
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/a268252629a0f6b31e5f0189454144676dd7ffaa

The branch, master has been updated
       via  a268252629a0f6b31e5f0189454144676dd7ffaa (commit)
      from  5c96acd6f119b71fc75e5d48465afca9fd13e87f (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/netsurf.git/commit/?id=a268252629a0f6b31e5f0189454144676dd7ffaa
commit a268252629a0f6b31e5f0189454144676dd7ffaa
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    gcc on openbsd is unable to reason about res variable usage and generates 
bogus warning

diff --git a/content/handlers/html/html_interaction.c 
b/content/handlers/html/html_interaction.c
index 04d14aa..da4c67c 100644
--- a/content/handlers/html/html_interaction.c
+++ b/content/handlers/html/html_interaction.c
@@ -389,7 +389,7 @@ void html_mouse_action(struct content *c, struct 
browser_window *bw,
                        BROWSER_MOUSE_CLICK_1 | BROWSER_MOUSE_CLICK_2 |
                        BROWSER_MOUSE_DRAG_1 | BROWSER_MOUSE_DRAG_2);
 
-       nserror res;
+       nserror res = NSERROR_OK;
 
        if (drag_type != DRAGGING_NONE && !mouse &&
                        html->visible_select_menu != NULL) {


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

Summary of changes:
 content/handlers/html/html_interaction.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/handlers/html/html_interaction.c 
b/content/handlers/html/html_interaction.c
index 04d14aa..da4c67c 100644
--- a/content/handlers/html/html_interaction.c
+++ b/content/handlers/html/html_interaction.c
@@ -389,7 +389,7 @@ void html_mouse_action(struct content *c, struct 
browser_window *bw,
                        BROWSER_MOUSE_CLICK_1 | BROWSER_MOUSE_CLICK_2 |
                        BROWSER_MOUSE_DRAG_1 | BROWSER_MOUSE_DRAG_2);
 
-       nserror res;
+       nserror res = NSERROR_OK;
 
        if (drag_type != DRAGGING_NONE && !mouse &&
                        html->visible_select_menu != NULL) {


-- 
NetSurf Browser

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

Reply via email to