aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2011-01-26 19:29:28 (GMT)
committerJouni Malinen <j@w1.fi>2011-01-26 19:29:28 (GMT)
commitdfaeda049203eea631f0a916f49fadf08cd5cd6f (patch)
treeddd85aff44985ce33c91aabde238ba77f521b745 /src
parent4e062e35def70bbdd611b886edaa4a4c0b1ab040 (diff)
downloadhostap-dfaeda049203eea631f0a916f49fadf08cd5cd6f.zip
hostap-dfaeda049203eea631f0a916f49fadf08cd5cd6f.tar.gz
hostap-dfaeda049203eea631f0a916f49fadf08cd5cd6f.tar.bz2
Fix couple of compiler warnings about uninitialized variables
Diffstat (limited to 'src')
-rw-r--r--src/utils/edit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/edit.c b/src/utils/edit.c
index 8dcfb68..8f9e4ed 100644
--- a/src/utils/edit.c
+++ b/src/utils/edit.c
@@ -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;