summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2014-04-05 19:51:17 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2014-04-05 20:26:40 +0100
commitc1a32d7c6e87f3d81fa095e7e7fe11fa8d88fe5f (patch)
treebe24c2ea6aa4c5b6be006509b0c64809ab09485b
parentb301a111405f0f5e5df7b6204e6c2bf4bee2fce5 (diff)
downloadnetsurf-c1a32d7c6e87f3d81fa095e7e7fe11fa8d88fe5f.tar.gz
netsurf-c1a32d7c6e87f3d81fa095e7e7fe11fa8d88fe5f.tar.bz2
Fix some cppcheck unused/unreadVariables
-rw-r--r--amiga/arexx.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/amiga/arexx.c b/amiga/arexx.c
index 240aafeec..7fc58ef97 100644
--- a/amiga/arexx.c
+++ b/amiga/arexx.c
@@ -196,9 +196,8 @@ int ami_find_tab_bw(struct gui_window_2 *gwin, struct browser_window *bw)
struct browser_window *ami_find_tab(int window, int tab)
{
- int windows = 0, tabs = 0;
+ int windows = 0;
struct nsObject *node, *nnode;
- struct gui_window_2 *gwin;
if(!IsMinListEmpty(window_list))
{
@@ -569,7 +568,7 @@ STATIC VOID rx_windows(struct ARexxCmd *cmd, struct RexxMsg *rxm __attribute__((
STATIC VOID rx_active(struct ARexxCmd *cmd, struct RexxMsg *rxm __attribute__((unused)))
{
- int windows = 0, tabs = 0;
+ int windows = 0;
int window = 0, tab = 0;
struct browser_window *bw = curbw;
struct nsObject *node, *nnode;