0
0
mirror of https://github.com/vim/vim.git synced 2025-11-15 23:14:06 -05:00

patch 8.1.1032: warnings from clang static analyzer

Problem:    Warnings from clang static analyzer. (Yegappan Lakshmanan)
Solution:   Fix relevant warnings.
This commit is contained in:
Bram Moolenaar
2019-03-21 21:45:34 +01:00
parent f7e47af776
commit 2c519cf3bf
13 changed files with 20 additions and 29 deletions

View File

@@ -1720,7 +1720,7 @@ channel_get(channel_T *channel, ch_part_T part, int *outlen)
channel_get_all(channel_T *channel, ch_part_T part, int *outlen)
{
readq_T *head = &channel->ch_part[part].ch_head;
readq_T *node = head->rq_next;
readq_T *node;
long_u len = 0;
char_u *res;
char_u *p;