Mercurial > vim
comparison src/syntax.c @ 8975:9c097bfad637 v7.4.1773
commit https://github.com/vim/vim/commit/380130f1e18da92a44372728fe044f56db58585b
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 22 11:24:43 2016 +0200
patch 7.4.1773
Problem: Compiler warnings. (Dominique Pelle)
Solution: Add UNUSED. Add type cast. Avoid a buffer overflow.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 22 Apr 2016 11:30:07 +0200 |
parents | c83e2c1e7f2b |
children | b3da1ec8d156 |
comparison
equal
deleted
inserted
replaced
8974:b4b7ed0932dd | 8975:9c097bfad637 |
---|---|
9543 } | 9543 } |
9544 | 9544 |
9545 static void | 9545 static void |
9546 gui_do_one_color( | 9546 gui_do_one_color( |
9547 int idx, | 9547 int idx, |
9548 int do_menu, /* TRUE: might set the menu font */ | 9548 int do_menu UNUSED, /* TRUE: might set the menu font */ |
9549 int do_tooltip) /* TRUE: might set the tooltip font */ | 9549 int do_tooltip UNUSED) /* TRUE: might set the tooltip font */ |
9550 { | 9550 { |
9551 int didit = FALSE; | 9551 int didit = FALSE; |
9552 | 9552 |
9553 # ifdef FEAT_GUI | 9553 # ifdef FEAT_GUI |
9554 # ifdef FEAT_TERMTRUECOLOR | 9554 # ifdef FEAT_TERMTRUECOLOR |