summaryrefslogtreecommitdiffstats
path: root/src/userfunc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userfunc.c')
-rw-r--r--src/userfunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userfunc.c b/src/userfunc.c
index f3fe4936a7..747e4d4778 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -4104,7 +4104,7 @@ define_function(exarg_T *eap, char_u *name_arg, garray_T *lines_to_free)
{
int j;
int c;
- int saved_did_emsg;
+ int saved_did_emsg = FALSE;
char_u *name = name_arg;
int is_global = FALSE;
char_u *p;