diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-08-30 17:18:25 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-08-30 17:18:25 -0400 |
commit | 9ede170e7ebe6571191b79a0e8c2c66ca620c41d (patch) | |
tree | fbdf8fa322f8a068316692abdb81129d8cd56675 | |
parent | df64c0f932c8c9d4cfbec8b54aefb6c5cc7c359e (diff) | |
download | rneovim-9ede170e7ebe6571191b79a0e8c2c66ca620c41d.tar.gz rneovim-9ede170e7ebe6571191b79a0e8c2c66ca620c41d.tar.bz2 rneovim-9ede170e7ebe6571191b79a0e8c2c66ca620c41d.zip |
clang: Null pointer passed as an argument to a 'nonnull' parameter
-rw-r--r-- | src/nvim/misc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index 8669977ea1..d31bd44493 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -737,7 +737,7 @@ open_line ( p_extra = (char_u *)""; /* append empty line */ /* concatenate leader and p_extra, if there is a leader */ - if (lead_len) { + if (lead_len > 0) { if (flags & OPENLINE_COM_LIST && second_line_indent > 0) { int i; int padding = second_line_indent |