]> granicus.if.org Git - vim/commitdiff
patch 8.0.1145: warning when compiling with Perl v8.0.1145
authorBram Moolenaar <Bram@vim.org>
Mon, 25 Sep 2017 20:02:32 +0000 (22:02 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 25 Sep 2017 20:02:32 +0000 (22:02 +0200)
Problem:    Warning when compiling with Perl.
Solution:   Remove unused variable. (Ken Takata0

src/if_perl.xs
src/version.c

index d67645cd5713a4ab7a02c18ea9a58917a9bf6c03..4ead057c1ccbe344c005e947884228a1ebab9922 100644 (file)
@@ -1472,7 +1472,6 @@ Msg(text, hl=NULL)
 
     PREINIT:
     int                attr;
-    int                id;
 
     PPCODE:
     if (text != NULL)
index 5509b928f05dd26069bc3dd35fd635766c4a7888..d6fab52bb30693af95cdebe0e946dfa6af6963c5 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1145,
 /**/
     1144,
 /**/