diff options
author | oni-link <knil.ino@gmail.com> | 2015-03-08 12:49:53 +0100 |
---|---|---|
committer | oni-link <knil.ino@gmail.com> | 2015-03-08 13:01:16 +0100 |
commit | fe4920f138897138cc6eb76306677c4a5bc7980a (patch) | |
tree | 1920df3b49ff4039fea916ccfe68bc6a0e08d470 /runtime/doc/manpages/ja/vim-ja.1 | |
parent | da457a176be338fcee429684ced8d2dc8b4aefd4 (diff) | |
download | rneovim-fe4920f138897138cc6eb76306677c4a5bc7980a.tar.gz rneovim-fe4920f138897138cc6eb76306677c4a5bc7980a.tar.bz2 rneovim-fe4920f138897138cc6eb76306677c4a5bc7980a.zip |
Remove unnecessary assert() in os_dirname().
Compiler warns about buf always being nonnull.
buf is per function attribute always nonnull, so buf can be removed from
the assert(). But a buffer length of zero is also no problem, because it
makes uv_cwd() return a failure without writing into buf. So the
remaining length check can also be removed.
Diffstat (limited to 'runtime/doc/manpages/ja/vim-ja.1')
0 files changed, 0 insertions, 0 deletions