From c44386d110f5f335a34cc964768ab14d36b6dd36 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 18 Jan 2017 10:06:59 -0800 Subject: Windows compilation fixes. --- src/core/idhash.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/core/idhash.c b/src/core/idhash.c index 40d134a5..0b680bc9 100644 --- a/src/core/idhash.c +++ b/src/core/idhash.c @@ -34,7 +34,6 @@ int nni_idhash_create(nni_idhash **hp) { nni_idhash *h; - int rv; if ((h = NNI_ALLOC_STRUCT(h)) == NULL) { return (NNG_ENOMEM); @@ -258,7 +257,7 @@ nni_idhash_insert(nni_idhash *h, uint32_t id, void *val) int nni_idhash_alloc(nni_idhash *h, uint32_t *idp, void *val) { - uint32_t id, index; + uint32_t id; void *scrap; int rv; -- cgit v1.2.3-70-g09d2