]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: Do not assign time and then never use it
authorDonald Sharp <sharpd@nvidia.com>
Sun, 18 Aug 2024 20:18:54 +0000 (16:18 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Sun, 18 Aug 2024 20:18:54 +0000 (16:18 -0400)
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zebra_gr.c

index d84f680e2288db85052ef11ecbfba328a2d5423b..07391b7ac7192f39f12dec94101c2f4f00d921aa 100644 (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;