mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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)
|
||||
[lines_to_free->ga_len - 1])
|
||||
*eap->cmdlinep = theline;
|
||||
ga_add_string(lines_to_free, theline);
|
||||
(void)ga_add_string(lines_to_free, theline);
|
||||
}
|
||||
|
||||
return theline;
|
||||
|
Reference in New Issue
Block a user