aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fileio.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-01-27 03:26:13 -0500
committerJustin M. Keyes <justinkz@gmail.com>2016-01-27 22:19:50 -0500
commit894fcb778e123a9986be480e94dc78b545e01ec4 (patch)
tree3ece268f8b71a2e892d256d8af72a8e2f80da4ff /src/nvim/fileio.c
parent765d394f18733bc6d962e3915ff53c06ac095642 (diff)
downloadrneovim-894fcb778e123a9986be480e94dc78b545e01ec4.tar.gz
rneovim-894fcb778e123a9986be480e94dc78b545e01ec4.tar.bz2
rneovim-894fcb778e123a9986be480e94dc78b545e01ec4.zip
glob2regpat(): handle empty string.
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r--src/nvim/fileio.c1
1 files changed, 1 insertions, 0 deletions
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;