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
commit6217cdcec39e64d5fc5a04032847d0424c8f27b4 (patch)
tree4c92b037f0a9313de3b47d89c38a9e6842ca9dd3
parente436528e04cd2b5bac71ec2dcef815255a5fcc8b (diff)
downloadvim-6217cdcec39e64d5fc5a04032847d0424c8f27b4.zip
updated for version 7.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 3b5b93b05..ab4ac6997 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 7bce14667..ea9bc6285 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,