findutils-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Findutils-patches] [PATCH] Eliminate unused variable in get_pred_cost


From: James Youngman
Subject: [Findutils-patches] [PATCH] Eliminate unused variable in get_pred_cost
Date: Tue, 26 Jun 2007 21:22:48 +0100

2007-06-26  James Youngman  <address@hidden>

        * find/tree.c (get_pred_cost): Eliminate unused variable.

Signed-off-by: James Youngman <address@hidden>
---
 ChangeLog   |    2 ++
 find/tree.c |    2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b7e0d17..16df7da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2007-06-26  James Youngman  <address@hidden>
 
+       * find/tree.c (get_pred_cost): Eliminate unused variable.
+
        * find/pred.c (format_date): Use verify_true for constant
        conditions rather than assert.
        * xargs/xargs.c (main): Ditto.
diff --git a/find/tree.c b/find/tree.c
index 02eac11..9958363 100644
--- a/find/tree.c
+++ b/find/tree.c
@@ -1034,8 +1034,6 @@ get_pred_cost(const struct predicate *p)
 
       if (!pred_table_sorted)
        {
-         size_t i;
-         
          qsort(costlookup,
                sizeof(costlookup)/sizeof(costlookup[0]),
                sizeof(costlookup[0]),
-- 
1.5.2.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]