1
0
forked from aniani/vim

patch 7.4.1773

Problem:    Compiler warnings. (Dominique Pelle)
Solution:   Add UNUSED. Add type cast. Avoid a buffer overflow.
This commit is contained in:
Bram Moolenaar
2016-04-22 11:24:43 +02:00
parent 54a38415ca
commit 380130f1e1
3 changed files with 11 additions and 6 deletions

View File

@@ -9545,8 +9545,8 @@ highlight_gui_started(void)
static void
gui_do_one_color(
int idx,
int do_menu, /* TRUE: might set the menu font */
int do_tooltip) /* TRUE: might set the tooltip font */
int do_menu UNUSED, /* TRUE: might set the menu font */
int do_tooltip UNUSED) /* TRUE: might set the tooltip font */
{
int didit = FALSE;