diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-01-20 17:47:02 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-01-20 17:47:02 -0800 |
| commit | 4a24ebe175bc3eebf7fbf2ac581b2339a809ace1 (patch) | |
| tree | b3048d482412379ff44c1d2217ca512339a771f6 /tests/pipeline.c | |
| parent | cb7e65fd5004fd24a7c23137e849c2828d2de6c3 (diff) | |
| download | nng-4a24ebe175bc3eebf7fbf2ac581b2339a809ace1.tar.gz nng-4a24ebe175bc3eebf7fbf2ac581b2339a809ace1.tar.bz2 nng-4a24ebe175bc3eebf7fbf2ac581b2339a809ace1.zip | |
Dangling compiler warnings from sock handle change.
Diffstat (limited to 'tests/pipeline.c')
| -rw-r--r-- | tests/pipeline.c | 8 |
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); |
