diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-06 13:55:11 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-01-06 14:05:20 +0100 |
commit | 89d4466b6bcd2cf3eb995a087306c01a425bb5c9 (patch) | |
tree | 557e5ccc5434cd441914d51c9a08d790f791b69c /lib/bitset_stats.c | |
parent | f3bd3f7876b4d4c6d22b9590e1a0938ad342c91f (diff) | |
download | bison-89d4466b6bcd2cf3eb995a087306c01a425bb5c9.tar.gz |
build: avoid warnings about set-but-not-used variables
* lib/bitset_stats.c (bitset_stats_list): Remove declaration
and set of unused local, "type".
* lib/ebitset.c (ebitset_init): Likewise, for "size".
* lib/lbitset.c (lbitset_not): Likewise, for "elt".
Diffstat (limited to 'lib/bitset_stats.c')
-rw-r--r-- | lib/bitset_stats.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/bitset_stats.c b/lib/bitset_stats.c index 216bfd92..02d5ba6d 100644 --- a/lib/bitset_stats.c +++ b/lib/bitset_stats.c @@ -576,11 +576,9 @@ bitset_stats_list (bitset bset, bitset_bindex *list, bitset_bindex tmp; bitset_bindex size; bitset_bindex i; - enum bitset_type type; count = BITSET_LIST_ (bset->s.bset, list, num, next); - type = BITSET_TYPE_ (bset->s.bset); BITSET_STATS_LISTS_INC (bset->s.bset); /* Log histogram of number of set bits. */ |