Remove dead assignments flagged by Clang static analysis

This commit is contained in:
David Crosby
2015-07-15 08:55:08 -06:00
committed by Tatsuya Kinoshita
parent 2d9d2494fc
commit 7e5b33c30e
9 changed files with 3 additions and 22 deletions

2
rc.c
View File

@@ -779,7 +779,7 @@ create_option_search_table()
qsort(RC_search_table, RC_table_size, sizeof(struct rc_search_table),
(int (*)(const void *, const void *))compare_table);
diff1 = diff2 = 0;
diff2 = 0;
for (i = 0; i < RC_table_size - 1; i++) {
p = RC_search_table[i].param->name;
q = RC_search_table[i + 1].param->name;