mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 00:38:17 +00:00
refactor: fix clang and PVS warnings (#19569)
The last commit didn't actually disable V1028 because of a typo. Fix the typo so it is actually disabled.
This commit is contained in:
@@ -3153,11 +3153,7 @@ static void qf_list_entry(qfline_T *qfp, int qf_idx, bool cursel)
|
||||
|
||||
if (len > IOSIZE) {
|
||||
tbuf = xmalloc(len);
|
||||
if (tbuf != NULL) {
|
||||
tbuflen = len;
|
||||
} else {
|
||||
tbuf = IObuff;
|
||||
}
|
||||
tbuflen = len;
|
||||
}
|
||||
|
||||
// Remove newlines and leading whitespace from the text. For an
|
||||
|
Reference in New Issue
Block a user