mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Killed a couple of unused variables.
We really should compile with warnings enabled.
This commit is contained in:
parent
d83faf8dc4
commit
6a57bb3110
@ -294,7 +294,7 @@ interpret(struct f_inst *what)
|
|||||||
{
|
{
|
||||||
struct symbol *sym;
|
struct symbol *sym;
|
||||||
struct f_val v1, v2, res;
|
struct f_val v1, v2, res;
|
||||||
int i,j,k;
|
int i;
|
||||||
|
|
||||||
res.type = T_VOID;
|
res.type = T_VOID;
|
||||||
if (!what)
|
if (!what)
|
||||||
|
@ -373,7 +373,6 @@ static int
|
|||||||
bgp_incoming_connection(sock *sk, int dummy)
|
bgp_incoming_connection(sock *sk, int dummy)
|
||||||
{
|
{
|
||||||
struct proto_config *pc;
|
struct proto_config *pc;
|
||||||
node *n;
|
|
||||||
int match = 0;
|
int match = 0;
|
||||||
|
|
||||||
DBG("BGP: Incoming connection from %I port %d\n", sk->daddr, sk->dport);
|
DBG("BGP: Incoming connection from %I port %d\n", sk->daddr, sk->dport);
|
||||||
|
@ -384,7 +384,7 @@ static int
|
|||||||
rip_process_packet( struct proto *p, struct rip_packet *packet, int num, ip_addr whotoldme, int port )
|
rip_process_packet( struct proto *p, struct rip_packet *packet, int num, ip_addr whotoldme, int port )
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
int native_class = 0, authenticated = 0;
|
int authenticated = 0;
|
||||||
neighbor *neighbor;
|
neighbor *neighbor;
|
||||||
|
|
||||||
switch( packet->heading.version ) {
|
switch( packet->heading.version ) {
|
||||||
@ -606,7 +606,7 @@ static void
|
|||||||
rip_dump(struct proto *p)
|
rip_dump(struct proto *p)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
node *w, *e;
|
node *w;
|
||||||
struct rip_interface *rif;
|
struct rip_interface *rif;
|
||||||
i = 0;
|
i = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user