From: Igor Ryzhov Date: Thu, 1 Apr 2021 08:03:58 +0000 (+0300) Subject: bgpd: fix build warnings X-Git-Tag: base_8.0~192^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F8383%2Fhead;p=mirror%2Ffrr.git bgpd: fix build warnings Signed-off-by: Igor Ryzhov --- diff --git a/bgpd/bgp_rpki.c b/bgpd/bgp_rpki.c index 3d4902aa47..bb85ad393d 100644 --- a/bgpd/bgp_rpki.c +++ b/bgpd/bgp_rpki.c @@ -48,6 +48,7 @@ #include "bgpd/bgp_aspath.h" #include "bgpd/bgp_route.h" #include "bgpd/bgp_rpki.h" +#include "northbound_cli.h" #include "lib/network.h" #include "lib/thread.h" @@ -1390,7 +1391,6 @@ DEFUN_YANG (no_match_rpki, { const char *xpath = "./match-condition[condition='frr-bgp-route-map:rpki']"; - char xpath_value[XPATH_MAXLEN]; nb_cli_enqueue_change(vty, xpath, NB_OP_CREATE, NULL); return nb_cli_apply_changes(vty, NULL);