patch 8.2.2460: Coverity warns for unused value
Problem: Coverity warns for unused value.
Solution: Do not reset the return value to OK.
diff --git a/src/version.c b/src/version.c
index e3f2095..f6fbc8a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2460,
+/**/
2459,
/**/
2458,
diff --git a/src/vim9compile.c b/src/vim9compile.c
index 55e33eb..6a1d8d9 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -5147,7 +5147,6 @@
}
}
// TODO: warning for trailing text?
- r = OK;
theend:
vim_free(lambda_name);