Patch 7.4.1718
Problem:    Coverity: not using return value of set_ref_in_item().
Solution:   Use the return value.
Files:      src/eval.c


*** ../vim-7.4.1717/src/eval.c  2016-04-07 21:40:34.066966030 +0200
--- src/eval.c  2016-04-07 22:13:52.733922693 +0200
***************
*** 7244,7250 ****
  
            if (pt != NULL)
                for (i = 0; i < pt->pt_argc; ++i)
!                   set_ref_in_item(&pt->pt_argv[i], copyID,
                                                        ht_stack, list_stack);
        }
      }
--- 7244,7250 ----
  
            if (pt != NULL)
                for (i = 0; i < pt->pt_argc; ++i)
!                   abort = abort || set_ref_in_item(&pt->pt_argv[i], copyID,
                                                        ht_stack, list_stack);
        }
      }
*** ../vim-7.4.1717/src/version.c       2016-04-07 21:40:34.066966030 +0200
--- src/version.c       2016-04-07 22:14:27.333558171 +0200
***************
*** 750,751 ****
--- 750,753 ----
  {   /* Add new patch number below this line */
+ /**/
+     1718,
  /**/

-- 
Eagles may soar, but weasels don't get sucked into jet engines.

 /// 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.

Raspunde prin e-mail lui