X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/89d4466b6bcd2cf3eb995a087306c01a425bb5c9..89ff1b5e71a6d8aa34b3578282528adb43b198cd:/lib/lbitset.c diff --git a/lib/lbitset.c b/lib/lbitset.c index 35854f22..7a638c6f 100644 --- a/lib/lbitset.c +++ b/lib/lbitset.c @@ -1,6 +1,6 @@ /* Functions to support link list bitsets. - Copyright (C) 2002-2004, 2006, 2009-2011 Free Software Foundation, + Copyright (C) 2002-2004, 2006, 2009-2013 Free Software Foundation, Inc. Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz). @@ -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;