diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-08-14 17:01:36 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-08-14 17:01:36 -0700 |
| commit | 6655557fca28408e0eeac3ba80b9e2bbdeada389 (patch) | |
| tree | d7892ee947baf32426d42913be711c8506b7b7a7 /src/core/idhash.c | |
| parent | 97cb71c2f3e2a8ca041a24493761a7db98371710 (diff) | |
| download | nng-6655557fca28408e0eeac3ba80b9e2bbdeada389.tar.gz nng-6655557fca28408e0eeac3ba80b9e2bbdeada389.tar.bz2 nng-6655557fca28408e0eeac3ba80b9e2bbdeada389.zip | |
Fix a few problems found by codacy. One was a real bug.
Diffstat (limited to 'src/core/idhash.c')
| -rw-r--r-- | src/core/idhash.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/idhash.c b/src/core/idhash.c index 943809d7..ab6b67e1 100644 --- a/src/core/idhash.c +++ b/src/core/idhash.c @@ -153,7 +153,6 @@ nni_hash_resize(nni_idhash *h) } oldsize = h->ih_cap; - newsize = h->ih_cap; newsize = 8; while (newsize < (h->ih_count * 2)) { |
