]> granicus.if.org Git - vim/commitdiff
patch 7.4.1069 v7.4.1069
authorBram Moolenaar <Bram@vim.org>
Sat, 9 Jan 2016 17:52:40 +0000 (18:52 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 9 Jan 2016 17:52:40 +0000 (18:52 +0100)
Problem:    Compiler warning for unused argument.
Solution:   Add UNUSED.

src/misc2.c
src/version.c

index 0aad4282199d2ef9a9f48e1905646208f7c029fe..d8202f88a96b448e3c4f84f7069df76f97b40a59 100644 (file)
@@ -842,7 +842,7 @@ alloc(size)
     char_u *
 alloc_id(size, id)
     unsigned   size;
-    int                id;
+    int                id UNUSED;
 {
 #ifdef FEAT_EVAL
     if (alloc_fail_id == id && alloc_does_fail())
@@ -1007,7 +1007,7 @@ theend:
 lalloc_id(size, message, id)
     long_u     size;
     int                message;
-    int                id;
+    int                id UNUSED;
 {
 #ifdef FEAT_EVAL
     if (alloc_fail_id == id && alloc_does_fail())
index 4bc3963c2c68f78ec06a6f5254c01d502502ea9e..e2013d1aaa6fdaef2875b5ed0f4cfc57d349b8fe 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1069,
 /**/
     1068,
 /**/