diff options
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/message.c b/src/message.c index 6553e0bd5f..5ec87c6297 100644 --- a/src/message.c +++ b/src/message.c @@ -2941,12 +2941,8 @@ static char_u *msg_show_console_dialog(char_u *message, char_u *buttons, int dfl */ vim_free(confirm_msg); confirm_msg = alloc(len); - if (confirm_msg == NULL) - return NULL; *confirm_msg = NUL; hotk = alloc(lenhotkey); - if (hotk == NULL) - return NULL; *confirm_msg = '\n'; STRCPY(confirm_msg + 1, message); |