summaryrefslogtreecommitdiffstats
path: root/usr.bin/du/du.c
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-04-09 14:31:41 +0000
committerstefanf <stefanf@FreeBSD.org>2005-04-09 14:31:41 +0000
commit60b910d7c27c4544e9c4525d0092d04cfdaf384e (patch)
treedf069329e153ae625933b8518f079cd3eb356753 /usr.bin/du/du.c
parent1b9c36cc46d51f70af44b3a5e15adda1896c2cdf (diff)
downloadFreeBSD-src-60b910d7c27c4544e9c4525d0092d04cfdaf384e.zip
FreeBSD-src-60b910d7c27c4544e9c4525d0092d04cfdaf384e.tar.gz
Remove unused variables.
Diffstat (limited to 'usr.bin/du/du.c')
-rw-r--r--usr.bin/du/du.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c
index ed85eb6..8af4c46 100644
--- a/usr.bin/du/du.c
+++ b/usr.bin/du/du.c
@@ -307,7 +307,7 @@ linkchk(FTSENT *p)
struct links_entry *le, **new_buckets;
struct stat *st;
size_t i, new_size;
- int count, hash;
+ int hash;
st = p->fts_statp;
@@ -325,7 +325,6 @@ linkchk(FTSENT *p)
if (number_entries > number_buckets * 10 && !stop_allocating) {
new_size = number_buckets * 2;
new_buckets = malloc(new_size * sizeof(struct links_entry *));
- count = 0;
/* Try releasing the free list to see if that helps. */
if (new_buckets == NULL && free_list != NULL) {
OpenPOWER on IntegriCloud