Skip to content

Commit dc16746

Browse files
committed
patch 8.2.2536: Coverity complains about unchecked return value
Problem: Coverity complains about unchecked return value. Solution: Add (void).
1 parent 723ef5d commit dc16746

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/userfunc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4020,7 +4020,7 @@ ex_defcompile(exarg_T *eap UNUSED)
40204020
&& ufunc->uf_def_status == UF_TO_BE_COMPILED
40214021
&& (ufunc->uf_flags & FC_DEAD) == 0)
40224022
{
4023-
compile_def_function(ufunc, FALSE, FALSE, NULL);
4023+
(void)compile_def_function(ufunc, FALSE, FALSE, NULL);
40244024

40254025
if (func_hashtab.ht_changed != changed)
40264026
{

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+
2536,
753755
/**/
754756
2535,
755757
/**/

0 commit comments

Comments
 (0)