From 7e326356d8c7edbe9f3e38a484aa27e673b346a5 Mon Sep 17 00:00:00 2001 From: Craig Rodrigues Date: Sat, 9 Mar 2002 02:22:43 +0000 Subject: [PATCH] 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 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/cp-tree.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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) \