diff options
author | Ben Elliston <bje@au.ibm.com> | 2008-02-25 11:50:17 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2008-02-25 22:50:17 +1100 |
commit | 98266db06cfe6cdf30e6e6052f056ec1277b49ce (patch) | |
tree | 519924376bc8c345af3b0afd300e39302e655ba8 /fixincludes | |
parent | 93e501259f8eddd9c9e20d9e601335d7f40c4eac (diff) | |
download | gcc-98266db06cfe6cdf30e6e6052f056ec1277b49ce.zip gcc-98266db06cfe6cdf30e6e6052f056ec1277b49ce.tar.gz gcc-98266db06cfe6cdf30e6e6052f056ec1277b49ce.tar.bz2 |
re PR other/32948 (five warnings and a patch)
fixincludes/
PR other/32948
* fixincl.c (fix_applies): Remove unused variable `name_len'.
gcc/
PR other/32948
* c-decl.c (grokdeclarator): Remove unused local variables
`typedef_type' and `type_as_written'.
* bb-reorder.c
(find_rarely_executed_basic_blocks_and_crossing_edges): Remove
unused local variable `has_hot_blocks'.
(fix_crossing_conditional_branches): Remove unused local variable
`prev_bb'.
From-SVN: r132618
Diffstat (limited to 'fixincludes')
-rw-r--r-- | fixincludes/ChangeLog | 5 | ||||
-rw-r--r-- | fixincludes/fixincl.c | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog index c241666..c45d8a8 100644 --- a/fixincludes/ChangeLog +++ b/fixincludes/ChangeLog @@ -1,3 +1,8 @@ +2008-02-25 Ben Elliston <bje@au.ibm.com> + + PR other/32948 + * fixincl.c (fix_applies): Remove unused variable `name_len'. + 2008-02-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * inclhack.def (solaris_math_10): New. diff --git a/fixincludes/fixincl.c b/fixincludes/fixincl.c index ccb2bad..a6a8abe 100644 --- a/fixincludes/fixincl.c +++ b/fixincludes/fixincl.c @@ -1046,11 +1046,8 @@ fix_applies (tFixDesc* p_fixd) if (pz_scan != (char *) NULL) { - size_t name_len; - while ((pz_fname[0] == '.') && (pz_fname[1] == '/')) pz_fname += 2; - name_len = strlen (pz_fname); for (;;) { |