Mercurial > vim
changeset 4776:e4bc21965079 v7.3.1135
updated for version 7.3.1135
Problem: Compiler warning for unused argument.
Solution: Add UNUSED.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 06 Jun 2013 21:19:51 +0200 |
parents | c140ba708b77 |
children | 5158a8a43396 |
files | src/syntax.c src/version.c |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/syntax.c +++ b/src/syntax.c @@ -3258,7 +3258,7 @@ syn_regexec(rmp, lnum, col, st) regmmatch_T *rmp; linenr_T lnum; colnr_T col; - syn_time_T *st; + syn_time_T *st UNUSED; { int r; #ifdef FEAT_PROFILE @@ -6649,7 +6649,8 @@ syntime_report() } /* sort on total time */ - qsort(ga.ga_data, (size_t)ga.ga_len, sizeof(time_entry_T), syn_compare_syntime); + qsort(ga.ga_data, (size_t)ga.ga_len, sizeof(time_entry_T), + syn_compare_syntime); MSG_PUTS_TITLE(_(" TOTAL COUNT MATCH SLOWEST AVERAGE NAME PATTERN")); MSG_PUTS("\n");