diff options
author | Ihor Antonov <ngortheone@users.noreply.github.com> | 2019-07-15 20:30:31 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-07-16 02:30:31 +0200 |
commit | 0156e6b8106ee1f6aa147555c89bc4f3bafb2d3d (patch) | |
tree | 32a8da7f2006635820577cfc17e21605be320d56 | |
parent | ec81cfb4067df9e0629bbd64cb380b6aa00b007a (diff) | |
download | rneovim-0156e6b8106ee1f6aa147555c89bc4f3bafb2d3d.tar.gz rneovim-0156e6b8106ee1f6aa147555c89bc4f3bafb2d3d.tar.bz2 rneovim-0156e6b8106ee1f6aa147555c89bc4f3bafb2d3d.zip |
PVS/V781: suppress false positive #10516
-rw-r--r-- | src/nvim/message.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c index 86c185dbc2..df130565e0 100644 --- a/src/nvim/message.c +++ b/src/nvim/message.c @@ -1878,8 +1878,8 @@ static void msg_puts_display(const char_u *str, int maxlen, int attr, msg_ext_last_attr = attr; } // Concat pieces with the same highlight - size_t len = strnlen((char *)str, maxlen); - ga_concat_len(&msg_ext_last_chunk, (char *)str, len); // -V781 + size_t len = strnlen((char *)str, maxlen); // -V781 + ga_concat_len(&msg_ext_last_chunk, (char *)str, len); msg_ext_cur_len += len; return; } |