]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: fix build warnings 8383/head
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 1 Apr 2021 08:03:58 +0000 (11:03 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 1 Apr 2021 10:32:11 +0000 (13:32 +0300)
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
bgpd/bgp_rpki.c

index 3d4902aa47943a2d7174fabbee96b5ca7ad40452..bb85ad393dbeee94faaea7816ca91dfb89680386 100644 (file)
@@ -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);