diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-04-04 16:39:24 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-04-10 15:40:06 -0700 |
| commit | 927de364b7b5dafc04cd73af51d13a629f07756f (patch) | |
| tree | 2cd3a6eb9589fb2e59d354289c72625ab52f55a8 /tools | |
| parent | 38ae9a92c528e2497c73bde26d94ccfb071f0003 (diff) | |
| download | nng-927de364b7b5dafc04cd73af51d13a629f07756f.tar.gz nng-927de364b7b5dafc04cd73af51d13a629f07756f.tar.bz2 nng-927de364b7b5dafc04cd73af51d13a629f07756f.zip | |
fix unused variable in nngcat.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/nngcat/nngcat.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/nngcat/nngcat.c b/tools/nngcat/nngcat.c index 9dfa9561..c8a73859 100644 --- a/tools/nngcat/nngcat.c +++ b/tools/nngcat/nngcat.c @@ -550,16 +550,12 @@ sendloop(nng_socket sock) void sendrecv(nng_socket sock) { - nng_duration iv = 0; if (data == NULL) { fatal("No data to send (specify with --data or --file)"); } if (delay > 0) { nng_msleep(delay); } - if (interval > 0) { - iv = interval; - } // We start by sending a message, then we receive iteratively // but we set a concrete timeout if interval is set, to ensure |
