From 4a24ebe175bc3eebf7fbf2ac581b2339a809ace1 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 20 Jan 2017 17:47:02 -0800 Subject: Dangling compiler warnings from sock handle change. --- tests/pipeline.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'tests/pipeline.c') 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); -- cgit v1.2.3-70-g09d2