From: Bram Moolenaar Date: Wed, 3 Feb 2021 18:57:00 +0000 (+0100) Subject: patch 8.2.2460: Coverity warns for unused value X-Git-Tag: v8.2.2460 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fc1dafa91cbf7876d711e8e36171eeec78eae13b;p=vim 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 e3f209523..f6fbc8a45 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2460, /**/ 2459, /**/ diff --git a/src/vim9compile.c b/src/vim9compile.c index 55e33eb12..6a1d8d9e7 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -5147,7 +5147,6 @@ compile_nested_function(exarg_T *eap, cctx_T *cctx) } } // TODO: warning for trailing text? - r = OK; theend: vim_free(lambda_name);