Mercurial > vim
diff src/if_cscope.c @ 2047:85da03763130 v7.2.333
updated for version 7.2.333
Problem: Warnings from static code analysis.
Solution: Small changes to various lines. (Dominique Pelle)
author | Bram Moolenaar <bram@zimbu.org> |
---|---|
date | Tue, 19 Jan 2010 14:59:56 +0100 |
parents | 3f661e42f262 |
children | 3112fcc89238 |
line wrap: on
line diff
--- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -2069,7 +2069,7 @@ cs_print_tags_priv(matches, cntxts, num_ 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;