diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-08-11 19:14:00 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-08-11 19:14:00 +0200 |
commit | cde885473099296c4837de261833f48b24caf87c (patch) | |
tree | 7864f4147f9c3b57a77b649c7d14e8ad31cafa6c /src/syntax.c | |
parent | bd8539aac385d265d41da2e8ab59d7b9c3694557 (diff) | |
download | vim-git-cde885473099296c4837de261833f48b24caf87c.tar.gz |
patch 7.4.822v7.4.822
Problem: More problems reported by coverity.
Solution: Avoid the warnings. (Christian Brabandt)
Diffstat (limited to 'src/syntax.c')
-rw-r--r-- | src/syntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c index 000d5984c..e4ae0b1ae 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -6670,7 +6670,7 @@ syntime_report() spp = &(SYN_ITEMS(curwin->w_s)[idx]); if (spp->sp_time.count > 0) { - ga_grow(&ga, 1); + (void)ga_grow(&ga, 1); p = ((time_entry_T *)ga.ga_data) + ga.ga_len; p->total = spp->sp_time.total; profile_add(&total_total, &spp->sp_time.total); |