diff --git a/zebra/zebra_gr.c b/zebra/zebra_gr.c index d84f680e22..07391b7ac7 100644 --- a/zebra/zebra_gr.c +++ b/zebra/zebra_gr.c @@ -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;