mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
bitset: fix warning
Reported by Hans Åberg. http://lists.gnu.org/archive/html/bug-bison/2018-10/msg00047.html * lib/bitset.c (bitset_count_): here.
This commit is contained in:
@@ -353,7 +353,7 @@ bitset_count_ (bitset src)
|
||||
{
|
||||
bitset_bindex next = 0;
|
||||
bitset_bindex num;
|
||||
while (num = bitset_list (src, list, BITSET_LIST_SIZE, &next))
|
||||
while ((num = bitset_list (src, list, BITSET_LIST_SIZE, &next)))
|
||||
count += num;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user