Skip to content

Commit fc1dafa

Browse files
committed
patch 8.2.2460: Coverity warns for unused value
Problem: Coverity warns for unused value. Solution: Do not reset the return value to OK.
1 parent 8bead9a commit fc1dafa

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ static char *(features[]) =
750750

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
2460,
753755
/**/
754756
2459,
755757
/**/

src/vim9compile.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5147,7 +5147,6 @@ compile_nested_function(exarg_T *eap, cctx_T *cctx)
51475147
}
51485148
}
51495149
// TODO: warning for trailing text?
5150-
r = OK;
51515150

51525151
theend:
51535152
vim_free(lambda_name);

0 commit comments

Comments
 (0)