diff options
author | John Szakmeister <john@szakmeister.net> | 2015-03-12 07:24:15 -0400 |
---|---|---|
committer | John Szakmeister <john@szakmeister.net> | 2015-03-12 07:24:15 -0400 |
commit | 74531e50dcbaf2b5a49ae72815194066a1f074cd (patch) | |
tree | 4c3c46aa234f7538614f6fdd5980cc8b6328f52b /src/nvim/os | |
parent | 032c20078a617252ff9fc5ac03b4c390a6868a4d (diff) | |
parent | 681125eb94d91d25425f46f72557b8083e94c732 (diff) | |
download | rneovim-74531e50dcbaf2b5a49ae72815194066a1f074cd.tar.gz rneovim-74531e50dcbaf2b5a49ae72815194066a1f074cd.tar.bz2 rneovim-74531e50dcbaf2b5a49ae72815194066a1f074cd.zip |
Merge pull request #2114 from oni-link/remove.assert
Fixes for two compiler warnings
Diffstat (limited to 'src/nvim/os')
-rw-r--r-- | src/nvim/os/fs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c index 242f8fb461..6200685076 100644 --- a/src/nvim/os/fs.c +++ b/src/nvim/os/fs.c @@ -42,8 +42,6 @@ int os_chdir(const char *path) int os_dirname(char_u *buf, size_t len) FUNC_ATTR_NONNULL_ALL { - assert(buf && len); - int error_number; if ((error_number = uv_cwd((char *)buf, &len)) != kLibuvSuccess) { STRLCPY(buf, uv_strerror(error_number), len); |