From 6c86bd888ab9a0723b16862961b74bd3e5386356 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Tue, 4 Jul 2017 06:53:08 +0000 Subject: [PATCH] * c-warn.c (warn_if_unused_value): Remove WITH_CLEANUP_EXPR handling. From-SVN: r249943 --- gcc/c-family/ChangeLog | 4 ++++ gcc/c-family/c-warn.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 74009cf8dfc..5f32102128c 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,7 @@ +2017-07-04 Marek Polacek + + * c-warn.c (warn_if_unused_value): Remove WITH_CLEANUP_EXPR handling. + 2017-06-28 Martin Liska PR ipa/81128 diff --git a/gcc/c-family/c-warn.c b/gcc/c-family/c-warn.c index 5d67395c502..b9378c2dbe2 100644 --- a/gcc/c-family/c-warn.c +++ b/gcc/c-family/c-warn.c @@ -465,7 +465,6 @@ warn_if_unused_value (const_tree exp, location_t locus) case TARGET_EXPR: case CALL_EXPR: case TRY_CATCH_EXPR: - case WITH_CLEANUP_EXPR: case EXIT_EXPR: case VA_ARG_EXPR: return false; -- 2.30.2