summaryrefslogtreecommitdiffstats
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-07 20:51:14 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-07 20:51:14 +0000
commit1e4adcfc349ec3fd567987ddbc4e1160c7479a1c (patch)
tree07da1dd6026189443a185a7f6c35b6b3b9a63907 /gcc/calls.c
parentf7908e06695960797626a37837b837a28bba1576 (diff)
downloadppe42-gcc-1e4adcfc349ec3fd567987ddbc4e1160c7479a1c.tar.gz
ppe42-gcc-1e4adcfc349ec3fd567987ddbc4e1160c7479a1c.zip
2009-11-07 David Binderman <dcb314@hotmail.com>
* builtins.c (apply_args_size, expand_builtin_mathfn, expand_powi, expand_builtin_expect, maybe_emit_sprintf_chk_warning): Remove some set but not used variables. * calls.c (flags_from_decl_or_type): Likewise. * genautomata.c (check_regexp_units_distribution): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154001 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index 13167a620a4..5528ab9fbeb 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -589,12 +589,9 @@ int
flags_from_decl_or_type (const_tree exp)
{
int flags = 0;
- const_tree type = exp;
if (DECL_P (exp))
{
- type = TREE_TYPE (exp);
-
/* The function exp may have the `malloc' attribute. */
if (DECL_IS_MALLOC (exp))
flags |= ECF_MALLOC;
OpenPOWER on IntegriCloud