From 98266db06cfe6cdf30e6e6052f056ec1277b49ce Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Mon, 25 Feb 2008 11:50:17 +0000 Subject: 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 --- fixincludes/ChangeLog | 5 +++++ fixincludes/fixincl.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'fixincludes') 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 + + PR other/32948 + * fixincl.c (fix_applies): Remove unused variable `name_len'. + 2008-02-19 Kaveh R. Ghazi * 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 (;;) { -- cgit v1.1