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:
@@ -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);
|
rb_load(file_to_load, 0);
|
||||||
return Qnil;
|
return Qnil;
|
||||||
|
@@ -6506,7 +6506,7 @@ im_set_active(int active_arg)
|
|||||||
|
|
||||||
# ifdef FEAT_GUI
|
# ifdef FEAT_GUI
|
||||||
void
|
void
|
||||||
im_set_position(int row, int col)
|
im_set_position(int row UNUSED, int col UNUSED)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
|
@@ -761,6 +761,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1849,
|
||||||
/**/
|
/**/
|
||||||
1848,
|
1848,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user