diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-12-13 15:38:42 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-12-13 15:38:42 -0500 |
commit | 9af6485e8b91612382ee96130e8664dd7531d39c (patch) | |
tree | bac07670f8afaca3aa6fa1ae2559699141a00acf /src/nvim/ex_cmds.c | |
parent | 0ba6cb2f5cfe49ee1ee66c6246a77947af74ae5e (diff) | |
parent | e10670ac3bccbea707432bdb54e18639cf2e125f (diff) | |
download | rneovim-9af6485e8b91612382ee96130e8664dd7531d39c.tar.gz rneovim-9af6485e8b91612382ee96130e8664dd7531d39c.tar.bz2 rneovim-9af6485e8b91612382ee96130e8664dd7531d39c.zip |
Merge pull request #1622 from klusark/test29
default to 'nocompatible'
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 701e969393..4d9b8feb8a 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -1869,7 +1869,7 @@ int viminfo_readline(vir_T *virp) * * Check for a long line as written by viminfo_writestring(). * - * Return the string in allocated memory (or NULL to indicate failure). + * Return the string in allocated memory. */ char_u * viminfo_readstring ( @@ -1877,6 +1877,7 @@ viminfo_readstring ( int off, /* offset for virp->vir_line */ int convert /* convert the string */ ) + FUNC_ATTR_NONNULL_RET { char_u *retval; char_u *s, *d; |