aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
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;