Remove unused variable.

This commit is contained in:
Michael Drake 2014-02-08 17:16:32 +00:00
parent efc4a83737
commit 11b152c915
1 changed files with 0 additions and 3 deletions

View File

@ -1779,15 +1779,12 @@ bool ro_gui_window_click(wimp_pointer *pointer)
bool ro_gui_window_keypress(wimp_key *key)
{
struct gui_window *g;
hlcache_handle *h;
uint32_t c = (uint32_t) key->c;
g = (struct gui_window *) ro_gui_wimp_event_get_user_data(key->w);
if (g == NULL)
return false;
h = g->bw->current_content;
/* First send the key to the browser window, eg. form fields. */
if ((unsigned)c < 0x20 || (0x7f <= c && c <= 0x9f) ||