summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_dump.c
diff options
context:
space:
mode:
authorVincent JARDIN <vincent.jardin@6wind.com>2017-10-08 23:37:04 +0200
committerVincent JARDIN <vincent.jardin@6wind.com>2017-10-08 23:39:34 +0200
commitf38b7f6dd391aefbf87b9448f97da6949ecbfb90 (patch)
tree306d6a9c2b9508867f0b70900f900bc94dbad2ea /ospfd/ospf_dump.c
parentldpd: fix clang warning (diff)
downloadfrr-f38b7f6dd391aefbf87b9448f97da6949ecbfb90.tar.xz
frr-f38b7f6dd391aefbf87b9448f97da6949ecbfb90.zip
ospfd: fix clang warning
us is clearly not used, but let's keep it to have a readable logic. Signed-off-by: Vincent Jardin <vincent.jardin@6wind.com>
Diffstat (limited to '')
-rw-r--r--ospfd/ospf_dump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospfd/ospf_dump.c b/ospfd/ospf_dump.c
index eca0f85f5..5933f5abf 100644
--- a/ospfd/ospf_dump.c
+++ b/ospfd/ospf_dump.c
@@ -169,6 +169,7 @@ const char *ospf_timeval_dump(struct timeval *t, char *buf, size_t size)
if (us >= 1000) {
ms = us / 1000;
us %= 1000;
+ (void)us; /* unused */
}
if (ms >= 1000) {