summaryrefslogtreecommitdiff
path: root/tests/pipeline.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pipeline.c')
-rw-r--r--tests/pipeline.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/pipeline.c b/tests/pipeline.c
index 688c48bf..aa01c2d1 100644
--- a/tests/pipeline.c
+++ b/tests/pipeline.c
@@ -26,7 +26,6 @@ Main({
nng_socket push;
So(nng_open(&push, NNG_PROTO_PUSH) == 0);
- So(push != NULL);
Reset({
nng_close(push);
@@ -46,7 +45,6 @@ Main({
Convey("We can create a PULL socket", {
nng_socket pull;
So(nng_open(&pull, NNG_PROTO_PULL) == 0);
- So(pull != NULL);
Reset({
nng_close(pull);
@@ -66,9 +64,9 @@ Main({
})
Convey("We can create a linked PUSH/PULL pair", {
- nng_socket push = NULL;
- nng_socket pull = NULL;
- nng_socket what = NULL;
+ nng_socket push;
+ nng_socket pull;
+ nng_socket what;
So(nng_open(&push, NNG_PROTO_PUSH) == 0);
So(nng_open(&pull, NNG_PROTO_PULL) == 0);