aboutsummaryrefslogtreecommitdiff
path: root/src/sp/protocol
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2021-01-24 18:04:46 -0800
committerGarrett D'Amore <garrett@damore.org>2021-01-24 18:04:46 -0800
commit495fb0a58d30b1135c73fa84d761620cc95cc1b4 (patch)
tree4843561b07bc83485c83d1b5520daae54984f985 /src/sp/protocol
parente4152a37c6e288382c64942edc2edda410681c9b (diff)
downloadnng-495fb0a58d30b1135c73fa84d761620cc95cc1b4.tar.gz
nng-495fb0a58d30b1135c73fa84d761620cc95cc1b4.tar.bz2
nng-495fb0a58d30b1135c73fa84d761620cc95cc1b4.zip
fixes #1415 pair.c compiler warning
Diffstat (limited to 'src/sp/protocol')
-rw-r--r--src/sp/protocol/pair1/pair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp/protocol/pair1/pair.c b/src/sp/protocol/pair1/pair.c
index 60de92e0..4a909888 100644
--- a/src/sp/protocol/pair1/pair.c
+++ b/src/sp/protocol/pair1/pair.c
@@ -374,7 +374,7 @@ pair1_send_sched(pair1_sock *s)
pair1_pipe *p;
nni_msg * m;
nni_aio * a = NULL;
- size_t l;
+ size_t l = 0;
nni_mtx_lock(&s->mtx);