mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.0393: Coverity warns for not using return value
Problem: Coverity warns for not using return value. Solution: Add (void).
This commit is contained in:
parent
56cb337872
commit
c030063329
@ -1071,12 +1071,13 @@ pum_set_event_info(dict_T *dict)
|
||||
{
|
||||
if (!pum_visible())
|
||||
return;
|
||||
dict_add_number(dict, "height", pum_height);
|
||||
dict_add_number(dict, "width", pum_width);
|
||||
dict_add_number(dict, "row", pum_row);
|
||||
dict_add_number(dict, "col", pum_col);
|
||||
dict_add_number(dict, "size", pum_size);
|
||||
dict_add_bool(dict, "scrollbar", pum_scrollbar ? VVAL_TRUE : VVAL_FALSE);
|
||||
(void)dict_add_number(dict, "height", pum_height);
|
||||
(void)dict_add_number(dict, "width", pum_width);
|
||||
(void)dict_add_number(dict, "row", pum_row);
|
||||
(void)dict_add_number(dict, "col", pum_col);
|
||||
(void)dict_add_number(dict, "size", pum_size);
|
||||
(void)dict_add_bool(dict, "scrollbar",
|
||||
pum_scrollbar ? VVAL_TRUE : VVAL_FALSE);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -738,6 +738,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
393,
|
||||
/**/
|
||||
392,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user