mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
PVS/V781: suppress false positive #10516
This commit is contained in:
parent
ec81cfb406
commit
0156e6b810
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user