summaryrefslogtreecommitdiffstats
path: root/src/cmdexpand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmdexpand.c')
-rw-r--r--src/cmdexpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmdexpand.c b/src/cmdexpand.c
index f46045e6e1..b261415e85 100644
--- a/src/cmdexpand.c
+++ b/src/cmdexpand.c
@@ -3003,7 +3003,7 @@ ExpandUserDefined(
garray_T ga;
int fuzzy;
int match;
- int score;
+ int score = 0;
fuzzy = cmdline_fuzzy_complete(pat);
*matches = NULL;