From 894fcb778e123a9986be480e94dc78b545e01ec4 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Wed, 27 Jan 2016 03:26:13 -0500 Subject: glob2regpat(): handle empty string. --- src/nvim/fileio.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/fileio.c') diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index 26376afa27..3256004153 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -7106,6 +7106,7 @@ char_u * file_pat_to_reg_pat( char *allow_dirs, // Result passed back out in here int no_bslash // Don't use a backward slash as pathsep ) + FUNC_ATTR_NONNULL_ARG(1) { const char_u *endp; char_u *reg_pat; -- cgit