summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-21 21:41:41 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-21 21:41:41 -0800
commit99a78ade3a6034784e40d5dfa70cc72aa09021ca (patch)
treea1ebe245333e8e52832b647e0f70637b3326ad11 /tests
parent423c776ad9b8a68196bb4d9acfbfd5b7b9c4edc6 (diff)
downloadnng-99a78ade3a6034784e40d5dfa70cc72aa09021ca.tar.gz
nng-99a78ade3a6034784e40d5dfa70cc72aa09021ca.tar.bz2
nng-99a78ade3a6034784e40d5dfa70cc72aa09021ca.zip
Adds NNG_OPT_SENDFD and NNG_OPT_RECVFD socket options (untested).
Diffstat (limited to 'tests')
-rw-r--r--tests/pubsub.c1
-rw-r--r--tests/tcp.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/tests/pubsub.c b/tests/pubsub.c
index 431d6980..94558f39 100644
--- a/tests/pubsub.c
+++ b/tests/pubsub.c
@@ -18,7 +18,6 @@
So(memcmp(nng_msg_body(m), s, strlen(s)) == 0)
Main({
- int rv;
const char *addr = "inproc://test";
nni_init();
diff --git a/tests/tcp.c b/tests/tcp.c
index f77ec3a0..9f248fe8 100644
--- a/tests/tcp.c
+++ b/tests/tcp.c
@@ -14,7 +14,6 @@
// Inproc tests.
TestMain("TCP Transport", {
- int rv;
trantest_test_all("tcp://127.0.0.1:4450");