mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 12:39:21 +00:00
ospf6d: address more trivial compiler warnings
* ospf6_main.c: include required headers * ospf6_asbr.h: idem * ospf6_spf.c * ospf6_spf_install(): remove unused variables
This commit is contained in:
parent
05b7709dad
commit
87362ceb5d
@ -22,6 +22,13 @@
|
|||||||
#ifndef OSPF6_ASBR_H
|
#ifndef OSPF6_ASBR_H
|
||||||
#define OSPF6_ASBR_H
|
#define OSPF6_ASBR_H
|
||||||
|
|
||||||
|
/* for struct ospf6_prefix */
|
||||||
|
#include "ospf6_proto.h"
|
||||||
|
/* for struct ospf6_lsa */
|
||||||
|
#include "ospf6_lsa.h"
|
||||||
|
/* for struct ospf6_route */
|
||||||
|
#include "ospf6_route.h"
|
||||||
|
|
||||||
/* Debug option */
|
/* Debug option */
|
||||||
extern unsigned char conf_debug_ospf6_asbr;
|
extern unsigned char conf_debug_ospf6_asbr;
|
||||||
#define OSPF6_DEBUG_ASBR_ON() \
|
#define OSPF6_DEBUG_ASBR_ON() \
|
||||||
|
@ -34,8 +34,13 @@
|
|||||||
#include "plist.h"
|
#include "plist.h"
|
||||||
#include "privs.h"
|
#include "privs.h"
|
||||||
#include "sigevent.h"
|
#include "sigevent.h"
|
||||||
|
#include "zclient.h"
|
||||||
|
|
||||||
#include "ospf6d.h"
|
#include "ospf6d.h"
|
||||||
|
#include "ospf6_top.h"
|
||||||
|
#include "ospf6_message.h"
|
||||||
|
#include "ospf6_asbr.h"
|
||||||
|
#include "ospf6_lsa.h"
|
||||||
|
|
||||||
/* Default configuration file name for ospf6d. */
|
/* Default configuration file name for ospf6d. */
|
||||||
#define OSPF6_DEFAULT_CONFIG "ospf6d.conf"
|
#define OSPF6_DEFAULT_CONFIG "ospf6d.conf"
|
||||||
|
@ -282,8 +282,7 @@ ospf6_spf_install (struct ospf6_vertex *v,
|
|||||||
{
|
{
|
||||||
struct ospf6_route *route;
|
struct ospf6_route *route;
|
||||||
int i, j;
|
int i, j;
|
||||||
struct ospf6_vertex *prev, *w;
|
struct ospf6_vertex *prev;
|
||||||
struct listnode *node, *nnode;
|
|
||||||
|
|
||||||
if (IS_OSPF6_DEBUG_SPF (PROCESS))
|
if (IS_OSPF6_DEBUG_SPF (PROCESS))
|
||||||
zlog_debug ("SPF install %s hops %d cost %d",
|
zlog_debug ("SPF install %s hops %d cost %d",
|
||||||
|
Loading…
Reference in New Issue
Block a user