diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-01-18 10:06:59 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-01-18 10:06:59 -0800 |
| commit | c44386d110f5f335a34cc964768ab14d36b6dd36 (patch) | |
| tree | 76e56433e337d70a1058d94db546586508bdc85b /src/core/idhash.c | |
| parent | 7e844cf618d67675928fb4c6fadc6cc16db19d19 (diff) | |
| download | nng-c44386d110f5f335a34cc964768ab14d36b6dd36.tar.gz nng-c44386d110f5f335a34cc964768ab14d36b6dd36.tar.bz2 nng-c44386d110f5f335a34cc964768ab14d36b6dd36.zip | |
Windows compilation fixes.
Diffstat (limited to 'src/core/idhash.c')
| -rw-r--r-- | src/core/idhash.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; |
