mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-31 04:54:43 +00:00
zebra: Do not assign time and then never use it
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
82bbf2e82d
commit
38b9df8e58
@ -583,7 +583,7 @@ static int32_t zebra_gr_delete_stale_route(struct client_gr_info *info,
|
|||||||
uint16_t instance;
|
uint16_t instance;
|
||||||
struct zserv *s_client;
|
struct zserv *s_client;
|
||||||
struct zserv *client;
|
struct zserv *client;
|
||||||
time_t restart_time = time(NULL);
|
time_t restart_time;
|
||||||
|
|
||||||
if ((info == NULL) || (zvrf == NULL))
|
if ((info == NULL) || (zvrf == NULL))
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user