From 392c090c7e4469f1c17e5640db0cccca08cad96b Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 17 Jul 2012 16:56:45 +0000 Subject: [PATCH] =?UTF-8?q?2012-07-17=20=20Ralf=20Cors=C3=A9pius=20=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libc/search/hcreate_r.c (hdestroy_r): #ifdef 0 unused vars ie, idx. --- newlib/ChangeLog | 4 ++++ newlib/libc/search/hcreate_r.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 1d66d47c8..efea6d71d 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2012-07-17 Ralf Corsépius + + * libc/search/hcreate_r.c (hdestroy_r): #ifdef 0 unused vars ie, idx. + 2012-07-16 Ralf Corsépius * libc/posix/telldir.c: Conditionally build dd_hash_lock. diff --git a/newlib/libc/search/hcreate_r.c b/newlib/libc/search/hcreate_r.c index 4ff758fdb..8aba524ec 100644 --- a/newlib/libc/search/hcreate_r.c +++ b/newlib/libc/search/hcreate_r.c @@ -123,9 +123,10 @@ hcreate_r(size_t nel, struct hsearch_data *htab) void hdestroy_r(struct hsearch_data *htab) { +#if 0 struct internal_entry *ie; size_t idx; - +#endif if (htab->htable == NULL) return;