summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <bram@vim.org>2012-04-25 12:28:09 +0200
committerBram Moolenaar <bram@vim.org>2012-04-25 12:28:09 +0200
commit04274c2476f573568996106f825b31de4bc3e97c (patch)
treef544c94cf372c8c315f58c6b9e0688a29ddc9d85
parent85373c2a71471a53298a7cd0910d26992d2aef34 (diff)
downloadvim-04274c2476f573568996106f825b31de4bc3e97c.tar.gz
updated for version 7.3.503v7.3.503v7-3-503
Problem: Warning for unused argument. Solution: Add UNUSED.
-rw-r--r--src/if_ruby.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/if_ruby.c b/src/if_ruby.c
index 3b5b93b0..ab4ac699 100644
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -1238,7 +1238,7 @@ static VALUE window_set_cursor(VALUE self, VALUE pos)
return Qnil;
}
-static VALUE f_nop(VALUE self)
+static VALUE f_nop(VALUE self UNUSED)
{
return Qnil;
}
diff --git a/src/version.c b/src/version.c
index 7bce1466..ea9bc628 100644
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 503,
+/**/
502,
/**/
501,