summaryrefslogtreecommitdiffstats
path: root/newlib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2012-07-17 16:56:45 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2012-07-17 16:56:45 +0000
commit392c090c7e4469f1c17e5640db0cccca08cad96b (patch)
treebcf6e5568c4f77a59179a91f84983e7432e6c936 /newlib
parent1acc80f5d25689ca963b84911f2b47f8eddbd0d4 (diff)
downloadcygnal-392c090c7e4469f1c17e5640db0cccca08cad96b.tar.gz
cygnal-392c090c7e4469f1c17e5640db0cccca08cad96b.tar.bz2
cygnal-392c090c7e4469f1c17e5640db0cccca08cad96b.zip
2012-07-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libc/search/hcreate_r.c (hdestroy_r): #ifdef 0 unused vars ie, idx.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/search/hcreate_r.c3
2 files changed, 6 insertions, 1 deletions
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 <ralf.corsepius@rtems.org>
+
+ * libc/search/hcreate_r.c (hdestroy_r): #ifdef 0 unused vars ie, idx.
+
2012-07-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* 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;