Fix couple of compiler warnings about uninitialized variables

This commit is contained in:
Jouni Malinen 2011-01-26 21:29:28 +02:00 committed by Jouni Malinen
parent 4e062e35de
commit dfaeda0492
2 changed files with 4 additions and 1 deletions

View file

@ -718,6 +718,7 @@ static enum edit_key_code esc_seq_to_key(char *seq)
int param1 = -1, param2 = -1;
enum edit_key_code ret = EDIT_KEY_NONE;
last = '\0';
for (pos = seq; *pos; pos++)
last = *pos;