aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2020-01-01 09:05:53 -0800
committerGarrett D'Amore <garrett@damore.org>2020-01-01 09:05:53 -0800
commita1f5a662b6ee8e6d5be96e55fbbb36f6d110567e (patch)
tree7b73db0203c82500a7b4df4db0ea832935deb822 /src/transport
parenta693a53e2302fe9cc60c1b5d2bf59c42032b20a3 (diff)
downloadnng-a1f5a662b6ee8e6d5be96e55fbbb36f6d110567e.tar.gz
nng-a1f5a662b6ee8e6d5be96e55fbbb36f6d110567e.tar.bz2
nng-a1f5a662b6ee8e6d5be96e55fbbb36f6d110567e.zip
Fixup a few codacy complaints.
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/zerotier/zerotier.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/zerotier/zerotier.c b/src/transport/zerotier/zerotier.c
index 552db527..027d46c2 100644
--- a/src/transport/zerotier/zerotier.c
+++ b/src/transport/zerotier/zerotier.c
@@ -1,5 +1,5 @@
//
-// Copyright 2019 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
@@ -1675,7 +1675,7 @@ zt_pipe_alloc(
zt_node *ztn = ep->ze_ztn;
int i;
size_t maxfrag;
- size_t maxfrags;
+ size_t maxfrags = 0;
if ((p = NNI_ALLOC_STRUCT(p)) == NULL) {
return (NNG_ENOMEM);