1
0
forked from aniani/vim

patch 7.4.822

Problem:    More problems reported by coverity.
Solution:   Avoid the warnings. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2015-08-11 19:14:00 +02:00
parent bd8539aac3
commit cde8854730
18 changed files with 46 additions and 45 deletions

View File

@@ -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);