summaryrefslogtreecommitdiff
path: root/solenv/bin
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-03 13:10:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-03 16:03:34 +0200
commite037381f85413fe6329c54e49ccfcac88dd71048 (patch)
tree78bce79b46f2f5415d70214555ceccc84897dfbf /solenv/bin
parentca4701fec182d928ab3d39f2183dafecf90e430b (diff)
loplugin:unusedfields in slideshow..svtools
Change-Id: I74d5a4b8cfc4b18267f99648a3112b163c91fd8c Reviewed-on: https://gerrit.libreoffice.org/39474 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'solenv/bin')
-rw-r--r--solenv/bin/concat-deps.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/solenv/bin/concat-deps.c b/solenv/bin/concat-deps.c
index b174033d63ad..cae9bc88e230 100644
--- a/solenv/bin/concat-deps.c
+++ b/solenv/bin/concat-deps.c
@@ -301,7 +301,6 @@ struct hash
{
struct hash_elem** array;
struct pool* elems_pool;
- int flags;
unsigned int used;
unsigned int size;
unsigned int load_limit;
@@ -312,7 +311,6 @@ struct hash
int memcmp;
#endif
};
-#define HASH_F_NO_RESIZE (1<<0)
/* The following hash_compute function was adapted from :
* lookup3.c, by Bob Jenkins, May 2006, Public Domain.
@@ -483,7 +481,6 @@ unsigned int i;
fprintf(stderr, "resize hash %u -> %u\n", old_size, hash->size);
if(hash->size == old_size)
{
- hash->flags |= HASH_F_NO_RESIZE;
return;
}
array = calloc(hash->size + 1, sizeof(struct hash_elem*));
@@ -509,7 +506,6 @@ unsigned int i;
else
{
hash->size = old_size;
- hash->flags |= HASH_F_NO_RESIZE;
}
}