0
0
mirror of https://github.com/vim/vim.git synced 2025-10-04 05:25:06 -04:00

updated for version 7.2.333

Problem:    Warnings from static code analysis.
Solution:   Small changes to various lines. (Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2010-01-19 14:59:56 +01:00
parent 3ea38ef239
commit 2660c0ea9b
11 changed files with 19 additions and 28 deletions

View File

@@ -2069,7 +2069,7 @@ cs_print_tags_priv(matches, cntxts, num_matches)
continue;
(void)strcpy(tbuf, matches[idx]);
if ((fname = strtok(tbuf, (const char *)"\t")) == NULL)
if (strtok(tbuf, (const char *)"\t") == NULL)
continue;
if ((fname = strtok(NULL, (const char *)"\t")) == NULL)
continue;