diff options
Diffstat (limited to 'readline.c')
-rw-r--r-- | readline.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/readline.c b/readline.c index 7bf9a5e1d4..85728412e6 100644 --- a/readline.c +++ b/readline.c @@ -307,8 +307,6 @@ static void term_completion(void) nb_completions = 0; cmdline = qemu_malloc(term_cmd_buf_index + 1); - if (!cmdline) - return; memcpy(cmdline, term_cmd_buf, term_cmd_buf_index); cmdline[term_cmd_buf_index] = '\0'; readline_find_completion(cmdline); |