decl.c (walk_vtables_r): Fixed typo that caused result to never get a nonzero value.

* cp/decl.c (walk_vtables_r): Fixed typo that caused result to
	never get a nonzero value.

From-SVN: r57741
This commit is contained in:
Matt Austern 2002-10-02 16:00:33 +00:00 committed by Matt Austern
parent 200bcf7efc
commit 0246d49e5b
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-10-02 Matt Austern <austern@apple.com>
* cp/decl.c (walk_vtables_r): Fixed typo that caused result to
never get a nonzero value.
Wed Oct 2 17:01:36 CEST 2002 Jan Hubicka <jh@suse.cz>
* i386.c (print_operand_address): Use RIP addressing for offsetted

View File

@ -1793,7 +1793,7 @@ walk_vtables_r (namespace, data)
int result = 0;
for (; decl ; decl = TREE_CHAIN (decl))
result != (*f) (&decl, d);
result |= (*f) (&decl, d);
return result;
}