diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-02-21 14:34:53 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-02-21 14:34:53 +0100 |
commit | e81b440f6878605edd19ed62441648ac71260881 (patch) | |
tree | bec78543f4a89096ac22e850dbb814a3f75d119a /proto/bgp/packets.c | |
parent | 9e43ccf07b96597ef098955a07383d826938cd2d (diff) |
Fix configure to enable warnings and fix most of them.
Diffstat (limited to 'proto/bgp/packets.c')
-rw-r--r-- | proto/bgp/packets.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c index 329efb3c..3609c568 100644 --- a/proto/bgp/packets.c +++ b/proto/bgp/packets.c @@ -44,7 +44,6 @@ static byte * mrt_put_bgp4_hdr(byte *buf, struct bgp_conn *conn, int as4) { struct bgp_proto *p = conn->bgp; - ip_addr local_addr; if (as4) { @@ -614,7 +613,7 @@ bgp_tx(sock *sk) void bgp_parse_capabilities(struct bgp_conn *conn, byte *opt, int len) { - struct bgp_proto *p = conn->bgp; + // struct bgp_proto *p = conn->bgp; int cl; while (len > 0) |