aboutsummaryrefslogtreecommitdiff
path: root/tests/message.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/message.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/message.c')
-rw-r--r--tests/message.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/message.c b/tests/message.c
index 95954dc0..2dfa67fb 100644
--- a/tests/message.c
+++ b/tests/message.c
@@ -15,7 +15,6 @@
static uint8_t dat123[] = { 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 3 };
TestMain("Message Tests", {
- int rv;
nng_msg *msg;
Convey("Given an empty message", {