X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c932d6135ca3e508f7136810b9b0bf79725290b9..a0c45dd5d2697b726add2bbc81947e9cb98c2799:/lib/lbitset.c diff --git a/lib/lbitset.c b/lib/lbitset.c index 7d204f0e..aa19f45d 100644 --- 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. */ - 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;