aboutsummaryrefslogtreecommitdiff
path: root/gcc/bitmap.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2016-05-20 15:32:56 -0600
committerJeff Law <law@gcc.gnu.org>2016-05-20 15:32:56 -0600
commitaa6d7407f90130dfea5df768787ce5c46c87f07b (patch)
tree98f85045f0b7931ed4257d328515c3a64e12a7d8 /gcc/bitmap.c
parente93044fc02fccbc70044fa0bd51a53c9f3439e32 (diff)
* bitmap.c (bitmap_find_bit): Remove useless test.
From-SVN: r236546
Diffstat (limited to 'gcc/bitmap.c')
-rw-r--r--gcc/bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/bitmap.c b/gcc/bitmap.c
index 0c05512b666..010cf752d76 100644
--- a/gcc/bitmap.c
+++ b/gcc/bitmap.c
@@ -556,7 +556,7 @@ bitmap_find_bit (bitmap head, unsigned int bit)
want, the one we want doesn't exist. */
head->current = element;
head->indx = element->indx;
- if (element != 0 && element->indx != indx)
+ if (element->indx != indx)
element = 0;
return element;