mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 19:19:59 +00:00
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>
This commit is contained in:
parent
e3df3ba6d4
commit
f38b7f6dd3
@ -169,6 +169,7 @@ const char *ospf_timeval_dump(struct timeval *t, char *buf, size_t size)
|
|||||||
if (us >= 1000) {
|
if (us >= 1000) {
|
||||||
ms = us / 1000;
|
ms = us / 1000;
|
||||||
us %= 1000;
|
us %= 1000;
|
||||||
|
(void)us; /* unused */
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ms >= 1000) {
|
if (ms >= 1000) {
|
||||||
|
Loading…
Reference in New Issue
Block a user