Remove unused variable.

Use PATH_MAX.



SVN revision: 45760
This commit is contained in:
Christopher Michael 2010-01-31 19:52:03 +00:00
parent 563d810def
commit 07648d4b12
1 changed files with 1 additions and 2 deletions

View File

@ -930,8 +930,7 @@ _e_kbd_int_layout_parse(E_Kbd_Int *ki, const char *layout)
(!strcmp(str, "capslock"))) (!strcmp(str, "capslock")))
{ {
char *p; char *p;
char label[4096]; char label[PATH_MAX];
int xx;
if (sscanf(buf, "%*s %4000s", label) != 1) continue; if (sscanf(buf, "%*s %4000s", label) != 1) continue;
st = calloc(1, sizeof(E_Kbd_Int_Key_State)); st = calloc(1, sizeof(E_Kbd_Int_Key_State));