mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.0.1241: Coverity warns for not checking function return value
Problem: Coverity warns for not checking function return value. Solution: Explicitly ignore the return value.
This commit is contained in:
@@ -192,7 +192,7 @@ get_function_line(
|
|||||||
&& *eap->cmdlinep == ((char_u **)lines_to_free->ga_data)
|
&& *eap->cmdlinep == ((char_u **)lines_to_free->ga_data)
|
||||||
[lines_to_free->ga_len - 1])
|
[lines_to_free->ga_len - 1])
|
||||||
*eap->cmdlinep = theline;
|
*eap->cmdlinep = theline;
|
||||||
ga_add_string(lines_to_free, theline);
|
(void)ga_add_string(lines_to_free, theline);
|
||||||
}
|
}
|
||||||
|
|
||||||
return theline;
|
return theline;
|
||||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1241,
|
||||||
/**/
|
/**/
|
||||||
1240,
|
1240,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user