summaryrefslogtreecommitdiff
path: root/perf
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-20 17:47:02 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-20 17:47:02 -0800
commit4a24ebe175bc3eebf7fbf2ac581b2339a809ace1 (patch)
treeb3048d482412379ff44c1d2217ca512339a771f6 /perf
parentcb7e65fd5004fd24a7c23137e849c2828d2de6c3 (diff)
downloadnng-4a24ebe175bc3eebf7fbf2ac581b2339a809ace1.tar.gz
nng-4a24ebe175bc3eebf7fbf2ac581b2339a809ace1.tar.bz2
nng-4a24ebe175bc3eebf7fbf2ac581b2339a809ace1.zip
Dangling compiler warnings from sock handle change.
Diffstat (limited to 'perf')
-rw-r--r--perf/perf.c8
1 files changed, 4 insertions, 4 deletions
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;