aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memory.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-04-28 20:37:52 +0200
committerGitHub <noreply@github.com>2017-04-28 20:37:52 +0200
commit129f107c0c26fbf371bcf165ec20eb13356bfb8e (patch)
tree864bf25c65c6cfcd4e17c0ebd04afdad1342c268 /src/nvim/memory.c
parent7044aa6e8256844bc1bd23eb61d4a41ca6d418d0 (diff)
parent8f59d1483934f91011b755406251136c406e77f6 (diff)
downloadrneovim-129f107c0c26fbf371bcf165ec20eb13356bfb8e.tar.gz
rneovim-129f107c0c26fbf371bcf165ec20eb13356bfb8e.tar.bz2
rneovim-129f107c0c26fbf371bcf165ec20eb13356bfb8e.zip
Merge #6247 'api: nvim_get_mode()'
Diffstat (limited to 'src/nvim/memory.c')
-rw-r--r--src/nvim/memory.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
index 0ee4776581..74c58fb203 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -345,10 +345,6 @@ char *xstpcpy(char *restrict dst, const char *restrict src)
/// WARNING: xstpncpy will ALWAYS write maxlen bytes. If src is shorter than
/// maxlen, zeroes will be written to the remaining bytes.
///
-/// TODO(aktau): I don't see a good reason to have this last behaviour, and
-/// it is potentially wasteful. Could we perhaps deviate from the standard
-/// and not zero the rest of the buffer?
-///
/// @param dst
/// @param src
/// @param maxlen