From 7e5b33c30ece6f265593cc442ff5a8579faef8ad Mon Sep 17 00:00:00 2001 From: David Crosby Date: Wed, 15 Jul 2015 08:55:08 -0600 Subject: Remove dead assignments flagged by Clang static analysis --- rc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.c') diff --git a/rc.c b/rc.c index b85d50b..0cd7634 100644 --- a/rc.c +++ b/rc.c @@ -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; -- cgit v1.2.3