0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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

@@ -6856,7 +6856,8 @@ helptags_one(dir, ext, tagfname, add_help_tags)
/*
* Sort the tags.
*/
sort_strings((char_u **)ga.ga_data, ga.ga_len);
if (ga.ga_data != NULL)
sort_strings((char_u **)ga.ga_data, ga.ga_len);
/*
* Check for duplicates.