summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-05-21 23:52:45 -0700
committerGarrett D'Amore <garrett@damore.org>2024-05-22 00:06:21 -0700
commite46b41a562d04ef15e73e3e729263bd60e256388 (patch)
tree60ca349cd01f623767b9910169aa1b04459941fa /src
parentae4a87bf93ed60efdc8242e57a3ce72852f372ef (diff)
downloadnng-e46b41a562d04ef15e73e3e729263bd60e256388.tar.gz
nng-e46b41a562d04ef15e73e3e729263bd60e256388.tar.bz2
nng-e46b41a562d04ef15e73e3e729263bd60e256388.zip
fixes #1825 Compiler warning due to unused variable in win_clock.c
Diffstat (limited to 'src')
-rw-r--r--src/platform/windows/win_clock.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/platform/windows/win_clock.c b/src/platform/windows/win_clock.c
index 2beeec45..a51738e5 100644
--- a/src/platform/windows/win_clock.c
+++ b/src/platform/windows/win_clock.c
@@ -24,7 +24,6 @@ nni_clock(void)
int
nni_time_get(uint64_t *seconds, uint32_t *nanoseconds)
{
- int rv;
struct timespec ts;
if (timespec_get(&ts, TIME_UTC) == TIME_UTC) {
*seconds = ts.tv_sec;