0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.2460: Coverity warns for unused value

Problem:    Coverity warns for unused value.
Solution:   Do not reset the return value to OK.
This commit is contained in:
Bram Moolenaar 2021-02-03 19:57:00 +01:00
parent 8bead9a058
commit fc1dafa91c
2 changed files with 2 additions and 1 deletions

View File

@ -750,6 +750,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 */
/**/
2460,
/**/ /**/
2459, 2459,
/**/ /**/

View File

@ -5147,7 +5147,6 @@ compile_nested_function(exarg_T *eap, cctx_T *cctx)
} }
} }
// TODO: warning for trailing text? // TODO: warning for trailing text?
r = OK;
theend: theend:
vim_free(lambda_name); vim_free(lambda_name);