projects
/
bison.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
regen
[bison.git]
/
lib
/
lbitset.c
diff --git
a/lib/lbitset.c
b/lib/lbitset.c
index 7d204f0e55e0ad721187d0d1b5fea5ed15a715e9..aa19f45de30770e5138e380ad3660577bbf466f3 100644
(file)
--- a/
lib/lbitset.c
+++ b/
lib/lbitset.c
@@
-352,7
+352,7
@@
lbitset_elt_find (bitset bset, bitset_windex windex,
/* ELT is the nearest to the one we want. If it's not the one
we want, the one we want does not exist. */
/* ELT is the nearest to the one we want. If it's not the one
we want, the one we want does not exist. */
- if (
elt && (windex - elt->index)
< LBITSET_ELT_WORDS)
+ if (
windex - elt->index
< LBITSET_ELT_WORDS)
{
bset->b.cindex = elt->index;
bset->b.csize = LBITSET_ELT_WORDS;
{
bset->b.cindex = elt->index;
bset->b.csize = LBITSET_ELT_WORDS;