zebra: Do not assign time and then never use it

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2024-08-18 16:18:54 -04:00
parent 82bbf2e82d
commit 38b9df8e58

View File

@ -583,7 +583,7 @@ static int32_t zebra_gr_delete_stale_route(struct client_gr_info *info,
uint16_t instance;
struct zserv *s_client;
struct zserv *client;
time_t restart_time = time(NULL);
time_t restart_time;
if ((info == NULL) || (zvrf == NULL))
return -1;