aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-06-11 11:45:41 -0700
committerGarrett D'Amore <garrett@damore.org>2018-06-11 11:45:41 -0700
commit061beeabd9859f92917ae3f0c5657dd8eca44d68 (patch)
treecd859189815175785010f87eb8077a65fe8b1bbf /src
parent1762e5ac23754b17a0bb69082549882aeab979ba (diff)
downloadnng-061beeabd9859f92917ae3f0c5657dd8eca44d68.tar.gz
nng-061beeabd9859f92917ae3f0c5657dd8eca44d68.tar.bz2
nng-061beeabd9859f92917ae3f0c5657dd8eca44d68.zip
fixes #525 posix nni_plat_tcp_ep_init should not mark mode unused
Diffstat (limited to 'src')
-rw-r--r--src/platform/posix/posix_tcp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/platform/posix/posix_tcp.c b/src/platform/posix/posix_tcp.c
index ace1f6bd..cbc7a641 100644
--- a/src/platform/posix/posix_tcp.c
+++ b/src/platform/posix/posix_tcp.c
@@ -34,8 +34,6 @@ nni_plat_tcp_ep_init(nni_plat_tcp_ep **epp, const nni_sockaddr *lsa,
struct sockaddr_storage ss;
int len;
- NNI_ARG_UNUSED(mode);
-
if ((rv = nni_posix_epdesc_init(&ed, mode)) != 0) {
return (rv);
}