diff src/eval.c @ 1397:6df4e719ce4e v7.1.112

updated for version 7.1-112
author vimboss
date Sun, 16 Sep 2007 12:21:16 +0000
parents 45898756e059
children 2ab007070fc8
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -11565,14 +11565,12 @@ get_user_input(argvars, rettv, inputdial
     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;
-    }
+	return;
 #endif
 
     cmd_silent = FALSE;		/* Want to see the prompt. */