aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/strings.c
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2014-05-31 00:40:07 -0300
committerFelipe Oliveira Carvalho <felipekde@gmail.com>2014-06-16 01:40:27 -0300
commit85100bb01dfebabf4b2557fd6d8a6041f83b0a76 (patch)
tree3814fd4e7617914dc7b47f1108aa0661411a0e1b /src/nvim/strings.c
parent3a9a76c996b590f4a25fcf00afe8e89a85071bad (diff)
downloadrneovim-85100bb01dfebabf4b2557fd6d8a6041f83b0a76.tar.gz
rneovim-85100bb01dfebabf4b2557fd6d8a6041f83b0a76.tar.bz2
rneovim-85100bb01dfebabf4b2557fd6d8a6041f83b0a76.zip
No OOM in concat_str() (few remaining cases)
Also fixed the duplicated declaration (path.c and strings.c)
Diffstat (limited to 'src/nvim/strings.c')
-rw-r--r--src/nvim/strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/strings.c b/src/nvim/strings.c
index ac0e5e1aef..45aec5841b 100644
--- a/src/nvim/strings.c
+++ b/src/nvim/strings.c
@@ -15,6 +15,7 @@
#include "nvim/fileio.h"
#include "nvim/func_attr.h"
#include "nvim/fold.h"
+#include "nvim/func_attr.h"
#include "nvim/getchar.h"
#include "nvim/mark.h"
#include "nvim/mbyte.h"
@@ -514,7 +515,6 @@ int has_non_ascii(char_u *s)
/*
* Concatenate two strings and return the result in allocated memory.
- * Returns NULL when out of memory.
*/
char_u *concat_str(char_u *str1, char_u *str2) FUNC_ATTR_NONNULL_RET
{