0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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.
This commit is contained in:
Bram Moolenaar
2018-05-17 13:11:46 +02:00
parent 4d6cd291ce
commit 0b39464f69
3 changed files with 4 additions and 2 deletions

View File

@@ -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;