diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-05-17 13:11:46 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-05-17 13:11:46 +0200 |
commit | 0b39464f69ae8ca9acf6e5bff4435fd0693e22f6 (patch) | |
tree | 3c9a69c1712829682d2119cc5815761442910977 /src/if_ruby.c | |
parent | 4d6cd291cec668b991f2b43d76c6feab8b2e7d98 (diff) | |
download | vim-git-0b39464f69ae8ca9acf6e5bff4435fd0693e22f6.tar.gz |
patch 8.0.1849: compiler warning for unused arguments, missing prototypev8.0.1849
Problem: compiler warning for unused arguments and missing prototype
Solution: Add UNUSED. Add static.
Diffstat (limited to 'src/if_ruby.c')
-rw-r--r-- | src/if_ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_ruby.c b/src/if_ruby.c index 5905424a3..eb79077bd 100644 --- 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; |