aboutsummaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorDavid Binderman <dcb314@hotmail.com>2009-11-07 20:51:14 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2009-11-07 20:51:14 +0000
commit451409e49392d89ab11861b47efab968c558b5f1 (patch)
tree07da1dd6026189443a185a7f6c35b6b3b9a63907 /gcc/calls.c
parent2a4217d39b03ff98ed04a323fcb0118580772511 (diff)
downloadgcc-451409e49392d89ab11861b47efab968c558b5f1.zip
gcc-451409e49392d89ab11861b47efab968c558b5f1.tar.gz
gcc-451409e49392d89ab11861b47efab968c558b5f1.tar.bz2
builtins.c (apply_args_size, [...]): Remove some set but not used variables.
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. From-SVN: r154001
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 13167a6..5528ab9 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;