From: Craig Rodrigues Date: Sat, 9 Mar 2002 02:22:43 +0000 (+0000) Subject: cp-tree.h (CLEAR_BINFO_MARKED): Make both parts of conditional return void. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e326356d8c7edbe9f3e38a484aa27e673b346a5;p=gcc.git cp-tree.h (CLEAR_BINFO_MARKED): Make both parts of conditional return void. 2002-03-08 Craig Rodrigues * cp-tree.h (CLEAR_BINFO_MARKED): Make both parts of conditional return void. From-SVN: r50473 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c9166dce575..3ed71433022 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2002-03-08 Craig Rodrigues + + * cp-tree.h (CLEAR_BINFO_MARKED): Make both parts of + conditional return void. + 2002-03-08 Neil Booth * cp-lang.c (LANG_HOOKS_UNSAVE): Redefine. diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index efceb8c399e..daecc67632b 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -1594,7 +1594,7 @@ struct lang_type #define CLEAR_BINFO_MARKED(NODE) \ (TREE_VIA_VIRTUAL (NODE) \ ? CLEAR_CLASSTYPE_MARKED (BINFO_TYPE (NODE)) \ - : (TREE_LANG_FLAG_0 (NODE) = 0)) + : (void)(TREE_LANG_FLAG_0 (NODE) = 0)) /* Nonzero means that this class is on a path leading to a new vtable. */ #define BINFO_VTABLE_PATH_MARKED(NODE) \