From e037381f85413fe6329c54e49ccfcac88dd71048 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 3 Jul 2017 13:10:00 +0200 Subject: loplugin:unusedfields in slideshow..svtools Change-Id: I74d5a4b8cfc4b18267f99648a3112b163c91fd8c Reviewed-on: https://gerrit.libreoffice.org/39474 Tested-by: Jenkins Reviewed-by: Noel Grandin --- solenv/bin/concat-deps.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'solenv') 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; } } -- cgit