diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2012-04-10 16:33:47 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2012-04-10 16:33:47 +0000 |
commit | fd4116f49cdf081949633ba8f474d7b160860701 (patch) | |
tree | a263fcd5e0513ef5acd316e056419a84c1daad7d /gcc/cp/cvt.c | |
parent | 408baa0b1643c3fcab1ac6a7c078bd37675ab017 (diff) | |
download | gcc-fd4116f49cdf081949633ba8f474d7b160860701.zip gcc-fd4116f49cdf081949633ba8f474d7b160860701.tar.gz gcc-fd4116f49cdf081949633ba8f474d7b160860701.tar.bz2 |
c-common.c (warn_if_unused_value): Move definition to here.
2012-04-10 Manuel López-Ibáñez <manu@gcc.gnu.org>
* c-family/c-common.c (warn_if_unused_value): Move definition to here.
* tree.h (warn_if_unused_value): Move declaration from here.
* c-family/c-common.h (warn_if_unused_value): Move declaration to here.
* cp/cvt.c (convert_to_void): Update comment.
* stmt.c (warn_if_unused_value): Move definition from here.
From-SVN: r186287
Diffstat (limited to 'gcc/cp/cvt.c')
-rw-r--r-- | gcc/cp/cvt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/cvt.c b/gcc/cp/cvt.c index c411a47..5694abe 100644 --- a/gcc/cp/cvt.c +++ b/gcc/cp/cvt.c @@ -1108,7 +1108,7 @@ convert_to_void (tree expr, impl_conv_void implicit, tsubst_flags_t complain) - an expression with TREE_NO_WARNING set. (For an example of such expressions, see build_over_call in call.c.) - automatic dereferencing of references, since the user cannot - control it. (See also warn_if_unused_value() in stmt.c.) */ + control it. (See also warn_if_unused_value() in c-common.c.) */ if (warn_unused_value && implicit != ICV_CAST && (complain & tf_warning) |