aboutsummaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2009-07-07 02:10:19 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2009-07-07 02:10:19 +0000
commitfab922b1f55fe7766a375d0ee28a1c48f3185250 (patch)
tree75f96edfe80b6d74b595292cb3f885c6a8ade502 /gcc/stmt.c
parent56131eb5a0492df3fd6421db599ed6f3b42545c6 (diff)
downloadgcc-fab922b1f55fe7766a375d0ee28a1c48f3185250.zip
gcc-fab922b1f55fe7766a375d0ee28a1c48f3185250.tar.gz
gcc-fab922b1f55fe7766a375d0ee28a1c48f3185250.tar.bz2
c-lex.c: Replace %H by an explicit location.
2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> * c-lex.c: Replace %H by an explicit location. Update all calls. * c-common.c: Likewise. * c-decl.c: Likewise. * c-typeck.c: Likewise. * fold-const.c: Likewise. * gimplify.c: Likewise. * stmt.c: Likewise. * tree-cfg.c: Likewise. * tree-ssa-loop-niter.c: Likewise. * tree-vrp.c: Likewise. * value-prof.c: Likewise. java/ * jcf-parse.c: Replace %H by an explicit location. Update all calls. objc/ * objc-act.c: Replace %H by an explicit location. Update all calls. testsuite/ * gcc.dg/plugin/selfassign.c: Replace %H by an explicit location. Update all calls. * g++.dg/plugin/selfassign.c: Likewise. From-SVN: r149310
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index 31b0b7d..d544080 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -1468,7 +1468,7 @@ warn_if_unused_value (const_tree exp, location_t locus)
return 0;
warn:
- warning (OPT_Wunused_value, "%Hvalue computed is not used", &locus);
+ warning_at (locus, OPT_Wunused_value, "value computed is not used");
return 1;
}
}