aboutsummaryrefslogtreecommitdiff
path: root/tests/device.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-08-11 13:58:06 -0700
committerGarrett D'Amore <garrett@damore.org>2017-08-11 13:58:06 -0700
commit674a3ed159c0a6ec9b62208837c388502ed80088 (patch)
tree11a2764a8f205ffc230971949108daec80b59f0b /tests/device.c
parent69e8b1517c6d84f30367c5c32e7426d81dc28265 (diff)
downloadnng-674a3ed159c0a6ec9b62208837c388502ed80088.tar.gz
nng-674a3ed159c0a6ec9b62208837c388502ed80088.tar.bz2
nng-674a3ed159c0a6ec9b62208837c388502ed80088.zip
Windows fixes; especially idempotent init/fini.
This fixes one major problem, which was that if nni_fini() was called once on Windows, it would not be further possible to call nni_init(). While here fixed a few compilation issues.
Diffstat (limited to 'tests/device.c')
-rw-r--r--tests/device.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/device.c b/tests/device.c
index 2d3958ea..e5239f25 100644
--- a/tests/device.c
+++ b/tests/device.c
@@ -47,7 +47,6 @@ Main({
int raw;
uint64_t tmo;
nng_msg * msg;
- int rv;
void * thr;
So(nng_pair1_open(&dev1) == 0);