aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-12-13 15:38:42 -0500
committerJustin M. Keyes <justinkz@gmail.com>2014-12-13 15:38:42 -0500
commit9af6485e8b91612382ee96130e8664dd7531d39c (patch)
treebac07670f8afaca3aa6fa1ae2559699141a00acf /src/nvim/ex_cmds.c
parent0ba6cb2f5cfe49ee1ee66c6246a77947af74ae5e (diff)
parente10670ac3bccbea707432bdb54e18639cf2e125f (diff)
downloadrneovim-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.c3
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;