Remove redundant variable

svn path=/trunk/netsurf/; revision=7634
This commit is contained in:
John Mark Bell 2009-05-29 23:02:13 +00:00
parent 63d4f28487
commit 80ae7c78b3

View File

@ -94,7 +94,6 @@ void ro_gui_interactive_help_request(wimp_message *message)
help_full_message_request *message_data;
wimp_w window;
wimp_i icon;
struct gui_window *g;
unsigned int index;
bool greyed = false;
wimp_menu *test_menu;
@ -139,7 +138,7 @@ void ro_gui_interactive_help_request(wimp_message *message)
i = ro_gui_tree_help(message_data->pos.x, message_data->pos.y);
sprintf(message_token,
(i >= 0) ? "HelpTree%i" :"HelpCookies%i", i);
} else if ((g = ro_gui_window_lookup(window)) != NULL)
} else if (ro_gui_window_lookup(window) != NULL)
sprintf(message_token, "HelpBrowser%i", (int)icon);
/* if we've managed to find something so far then we broadcast it */