]> granicus.if.org Git - vim/commitdiff
patch 7.4.1718 v7.4.1718
authorBram Moolenaar <Bram@vim.org>
Thu, 7 Apr 2016 20:16:30 +0000 (22:16 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 7 Apr 2016 20:16:30 +0000 (22:16 +0200)
Problem:    Coverity: not using return value of set_ref_in_item().
Solution:   Use the return value.

src/eval.c
src/version.c

index b4e71668701ea6513e12c262d5bb2f40abc3627c..3dc3e210dedc27c837e811bdb4b4af98576516ed 100644 (file)
@@ -7244,7 +7244,7 @@ set_ref_in_item(
 
            if (pt != NULL)
                for (i = 0; i < pt->pt_argc; ++i)
-                   set_ref_in_item(&pt->pt_argv[i], copyID,
+                   abort = abort || set_ref_in_item(&pt->pt_argv[i], copyID,
                                                        ht_stack, list_stack);
        }
     }
index e0c0888e1a4364ea2e4d427d6530cceaeb14be04..a808bb727687fc52ccb0022dd833a6352b26c494 100644 (file)
@@ -748,6 +748,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1718,
 /**/
     1717,
 /**/