commit | cde885473099296c4837de261833f48b24caf87c | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Aug 11 19:14:00 2015 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Aug 11 19:14:00 2015 +0200 |
tree | 7864f4147f9c3b57a77b649c7d14e8ad31cafa6c | |
parent | bd8539aac385d265d41da2e8ab59d7b9c3694557 [diff] [blame] |
patch 7.4.822 Problem: More problems reported by coverity. Solution: Avoid the warnings. (Christian Brabandt)
diff --git a/src/syntax.c b/src/syntax.c index 000d598..e4ae0b1 100644 --- a/src/syntax.c +++ b/src/syntax.c
@@ -6670,7 +6670,7 @@ 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);