Patch 7.4.1761
Problem: Coverity complains about ignoring return value.
Solution: Add "(void)" to get rid of the warning.
Files: src/eval.c
*** ../vim-7.4.1760/src/eval.c 2016-04-20 17:37:02.102439516 +0200
--- src/eval.c 2016-04-21 08:54:26.939119030 +0200
***************
*** 13178,13184 ****
rettv->vval.v_list = (list_T *)get_reg_contents(regname,
(arg2 ? GREG_EXPR_SRC : 0) | GREG_LIST);
if (rettv->vval.v_list == NULL)
! rettv_list_alloc(rettv);
else
++rettv->vval.v_list->lv_refcount;
}
--- 13178,13184 ----
rettv->vval.v_list = (list_T *)get_reg_contents(regname,
(arg2 ? GREG_EXPR_SRC : 0) | GREG_LIST);
if (rettv->vval.v_list == NULL)
! (void)rettv_list_alloc(rettv);
else
++rettv->vval.v_list->lv_refcount;
}
*** ../vim-7.4.1760/src/version.c 2016-04-20 20:55:52.262605720 +0200
--- src/version.c 2016-04-21 08:55:45.174320352 +0200
***************
*** 750,751 ****
--- 750,753 ----
{ /* Add new patch number below this line */
+ /**/
+ 1761,
/**/
--
[clop clop]
ARTHUR: Old woman!
DENNIS: Man!
ARTHUR: Man, sorry. What knight lives in that castle over there?
DENNIS: I'm thirty seven.
ARTHUR: What?
DENNIS: I'm thirty seven -- I'm not old!
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.