fix several code analysis problems and mask several that are required

This commit is contained in:
Jeff Lenk
2010-09-20 09:25:14 -05:00
parent 0748711434
commit 184f395553
9 changed files with 29 additions and 5 deletions

View File

@@ -493,7 +493,7 @@ static int comp_callback(void *pArg, int argc, char **argv, char **columnNames)
argc = switch_separate_string(list, ':', argv, (sizeof(argv) / sizeof(argv[0])));
for (i = 0; i < argc; i++) {
for (i = 0; (int)i < argc; i++) {
if (!cur || !strncmp(argv[i], cur, strlen(cur))) {
r_argv[0] = argv[i];
comp_callback(h, 1, r_argv, r_cols);