Gitweb links:

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

The branch, master has been updated
       via  2917af0a967bda993b8c1c5f194eea0b9881b6be (commit)
       via  7aa1dd601e40d0684efbdd53b6ce5109846fcc37 (commit)
       via  16b8d524e89e575230a46746bb117bc7f2a4f265 (commit)
       via  07456db2dc6fc59a952e0160cb03ba494a05e05d (commit)
      from  743637a8d2105df6ffc464a3cb4753cdc8c1401f (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=2917af0a967bda993b8c1c5f194eea0b9881b6be
commit 2917af0a967bda993b8c1c5f194eea0b9881b6be
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    RISC OS: Squash set but unused variable.

diff --git a/frontends/riscos/window.c b/frontends/riscos/window.c
index 3e84846..45d5b14 100644
--- a/frontends/riscos/window.c
+++ b/frontends/riscos/window.c
@@ -2388,15 +2388,13 @@ void ro_gui_window_menu_warning(wimp_w w, wimp_i i, 
wimp_menu *menu,
                wimp_selection *selection, menu_action action)
 {
        struct gui_window       *g;
-       struct hlcache_handle           *h;
-       struct toolbar          *toolbar;
+       struct hlcache_handle   *h;
        bool                    export;
 
        if (menu != ro_gui_browser_window_menu)
                return;
 
        g = (struct gui_window *) ro_gui_wimp_event_get_user_data(w);
-       toolbar = g->toolbar;
        h = browser_window_get_content(g->bw);
 
        switch (action) {


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

    RISC OS: Squash unused variable.

diff --git a/frontends/riscos/hotlist.c b/frontends/riscos/hotlist.c
index 80dd7d3..ae27bf5 100644
--- a/frontends/riscos/hotlist.c
+++ b/frontends/riscos/hotlist.c
@@ -532,8 +532,6 @@ static nserror ro_hotlist_init(void)
 /* exported interface documented in riscos/hotlist.h */
 nserror ro_gui_hotlist_present(void)
 {
-       nserror res;
-
        /* deal with external hotlist handler */
        if (nsoption_bool(external_hotlists) &&
            (nsoption_charp(external_hotlist_app) != NULL) &&


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

    RISC OS: Squash unused variable.
    
    This has been redundant since frames were moved into the core.
    The all frames checkbox should be removed from the scale dialogue.

diff --git a/frontends/riscos/dialog.c b/frontends/riscos/dialog.c
index 94c6235..18df1bf 100644
--- a/frontends/riscos/dialog.c
+++ b/frontends/riscos/dialog.c
@@ -646,12 +646,11 @@ void ro_gui_save_options(void)
        nsoption_write("<NetSurf$ChoicesSave>", NULL, NULL);
 }
 
-bool ro_gui_dialog_zoom_apply(wimp_w w) {
+bool ro_gui_dialog_zoom_apply(wimp_w w)
+{
        unsigned int scale;
-       bool all;
 
        scale = atoi(ro_gui_get_icon_string(w, ICON_ZOOM_VALUE));
-       all = ro_gui_get_icon_selected_state(w, ICON_ZOOM_FRAMES);
        ro_gui_window_set_scale(ro_gui_current_zoom_gui, scale * 0.01);
        return true;
 }


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

    RISC OS: Squash use of uninitialised variable.

diff --git a/frontends/riscos/corewindow.c b/frontends/riscos/corewindow.c
index 5c0b3e6..fa42b8f 100644
--- a/frontends/riscos/corewindow.c
+++ b/frontends/riscos/corewindow.c
@@ -409,7 +409,7 @@ static bool ro_cw_mouse_click(wimp_pointer *pointer)
        os_error *error;
        wimp_window_state state;
        int xpos, ypos;
-       browser_mouse_state mouse;
+       browser_mouse_state mouse = 0;
        bool handled = false;
        struct ro_corewindow *ro_cw;
 


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

Summary of changes:
 frontends/riscos/corewindow.c |    2 +-
 frontends/riscos/dialog.c     |    5 ++---
 frontends/riscos/hotlist.c    |    2 --
 frontends/riscos/window.c     |    4 +---
 4 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/frontends/riscos/corewindow.c b/frontends/riscos/corewindow.c
index 5c0b3e6..fa42b8f 100644
--- a/frontends/riscos/corewindow.c
+++ b/frontends/riscos/corewindow.c
@@ -409,7 +409,7 @@ static bool ro_cw_mouse_click(wimp_pointer *pointer)
        os_error *error;
        wimp_window_state state;
        int xpos, ypos;
-       browser_mouse_state mouse;
+       browser_mouse_state mouse = 0;
        bool handled = false;
        struct ro_corewindow *ro_cw;
 
diff --git a/frontends/riscos/dialog.c b/frontends/riscos/dialog.c
index 94c6235..18df1bf 100644
--- a/frontends/riscos/dialog.c
+++ b/frontends/riscos/dialog.c
@@ -646,12 +646,11 @@ void ro_gui_save_options(void)
        nsoption_write("<NetSurf$ChoicesSave>", NULL, NULL);
 }
 
-bool ro_gui_dialog_zoom_apply(wimp_w w) {
+bool ro_gui_dialog_zoom_apply(wimp_w w)
+{
        unsigned int scale;
-       bool all;
 
        scale = atoi(ro_gui_get_icon_string(w, ICON_ZOOM_VALUE));
-       all = ro_gui_get_icon_selected_state(w, ICON_ZOOM_FRAMES);
        ro_gui_window_set_scale(ro_gui_current_zoom_gui, scale * 0.01);
        return true;
 }
diff --git a/frontends/riscos/hotlist.c b/frontends/riscos/hotlist.c
index 80dd7d3..ae27bf5 100644
--- a/frontends/riscos/hotlist.c
+++ b/frontends/riscos/hotlist.c
@@ -532,8 +532,6 @@ static nserror ro_hotlist_init(void)
 /* exported interface documented in riscos/hotlist.h */
 nserror ro_gui_hotlist_present(void)
 {
-       nserror res;
-
        /* deal with external hotlist handler */
        if (nsoption_bool(external_hotlists) &&
            (nsoption_charp(external_hotlist_app) != NULL) &&
diff --git a/frontends/riscos/window.c b/frontends/riscos/window.c
index 3e84846..45d5b14 100644
--- a/frontends/riscos/window.c
+++ b/frontends/riscos/window.c
@@ -2388,15 +2388,13 @@ void ro_gui_window_menu_warning(wimp_w w, wimp_i i, 
wimp_menu *menu,
                wimp_selection *selection, menu_action action)
 {
        struct gui_window       *g;
-       struct hlcache_handle           *h;
-       struct toolbar          *toolbar;
+       struct hlcache_handle   *h;
        bool                    export;
 
        if (menu != ro_gui_browser_window_menu)
                return;
 
        g = (struct gui_window *) ro_gui_wimp_event_get_user_data(w);
-       toolbar = g->toolbar;
        h = browser_window_get_content(g->bw);
 
        switch (action) {


-- 
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