summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/eval.c b/src/eval.c
index 5d4c720b0..37db67c43 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -11565,14 +11565,12 @@ get_user_input(argvars, rettv, inputdialog)
char_u *xp_arg = NULL;
rettv->v_type = VAR_STRING;
+ rettv->vval.v_string = NULL;
#ifdef NO_CONSOLE_INPUT
/* While starting up, there is no place to enter text. */
if (no_console_input())
- {
- rettv->vval.v_string = NULL;
return;
- }
#endif
cmd_silent = FALSE; /* Want to see the prompt. */