diff options
author | Georgi Kodinov <joro@sun.com> | 2009-06-05 19:23:44 +0300 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-06-05 19:23:44 +0300 |
commit | 07f33a21d7f2d5378e5ce419c6951c9b9c8eb2b9 (patch) | |
tree | 49374db3acb5e14851a5a5384e8971c36344942a /cmd-line-utils/readline/bind.c | |
parent | dd570869f483e5ce6dcd45f3b77e69df585c814a (diff) | |
download | mariadb-git-07f33a21d7f2d5378e5ce419c6951c9b9c8eb2b9.tar.gz |
Addendum to Bug #45286 : implement reviewer's remarks.
Diffstat (limited to 'cmd-line-utils/readline/bind.c')
-rw-r--r-- | cmd-line-utils/readline/bind.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cmd-line-utils/readline/bind.c b/cmd-line-utils/readline/bind.c index 9d0a803cc6c..fc7bebfd813 100644 --- a/cmd-line-utils/readline/bind.c +++ b/cmd-line-utils/readline/bind.c @@ -699,11 +699,9 @@ rl_function_of_keyseq (keyseq, map, type) for (i = 0; keyseq && keyseq[i]; i++) { - unsigned char uc = keyseq[i]; - int ic; + unsigned char ic = keyseq[i]; - ic= uc; - if (META_CHAR (ic) && _rl_convert_meta_chars_to_ascii) + if (META_BYTE (ic) && _rl_convert_meta_chars_to_ascii) { if (map[ESC].type == ISKMAP) { |