Mercurial > vim
changeset 13958:fbd4f9645b57 v8.0.1849
patch 8.0.1849: compiler warning for unused arguments, missing prototype
commit https://github.com/vim/vim/commit/0b39464f69ae8ca9acf6e5bff4435fd0693e22f6
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 17 13:11:46 2018 +0200
patch 8.0.1849: compiler warning for unused arguments, missing prototype
Problem: compiler warning for unused arguments and missing prototype
Solution: Add UNUSED. Add static.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 17 May 2018 13:15:06 +0200 |
parents | 23aa3c207b82 |
children | d61f3e89755d |
files | src/if_ruby.c src/mbyte.c src/version.c |
diffstat | 3 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/if_ruby.c +++ b/src/if_ruby.c @@ -828,7 +828,7 @@ void ex_rubydo(exarg_T *eap) } } -VALUE rb_load_wrap(VALUE file_to_load) +static VALUE rb_load_wrap(VALUE file_to_load) { rb_load(file_to_load, 0); return Qnil;