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. --- perf/perf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'perf') diff --git a/perf/perf.c b/perf/perf.c index 202a3712..40b9c1f3 100644 --- a/perf/perf.c +++ b/perf/perf.c @@ -282,7 +282,7 @@ do_inproc_thr(int argc, char **argv) void latency_client(const char *addr, int msgsize, int trips) { - nng_socket *s; + nng_socket s; nng_msg *msg; nni_time start, end; int rv; @@ -332,7 +332,7 @@ latency_client(const char *addr, int msgsize, int trips) void latency_server(const char *addr, int msgsize, int trips) { - nng_socket *s; + nng_socket s; nng_msg *msg; int rv; int i; @@ -375,7 +375,7 @@ latency_server(const char *addr, int msgsize, int trips) void throughput_server(const char *addr, int msgsize, int count) { - nng_socket *s; + nng_socket s; nng_msg *msg; int rv; int i; @@ -433,7 +433,7 @@ throughput_server(const char *addr, int msgsize, int count) void throughput_client(const char *addr, int msgsize, int count) { - nng_socket *s; + nng_socket s; nng_msg *msg; int rv; int i; -- cgit v1.2.3-70-g09d2