Remove unnecessary null initialization.

This commit is contained in:
Daiki Ueno
2011-08-18 11:31:01 +09:00
parent 0e135129e2
commit 6a7b256676
13 changed files with 9 additions and 41 deletions

View File

@ -810,7 +810,7 @@ get_keycode_from_gdk_keymap (EekboardClient *client,
return FALSE;
for (i = 0; i < n_keys; i++)
if (keys[i].group == eekboard_context_get_group (client->context))
if (keys[i].group == eekboard_context_get_group (client->context, NULL))
best_match = &keys[i];
*keycode = best_match->keycode;