Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
0479b443
Commit
0479b443
authored
Oct 02, 2014
by
Ondřej Zajíček
Browse files
Fixes some warnings.
parent
7c005517
Changes
3
Hide whitespace changes
Inline
Side-by-side
nest/rt-attr.c
View file @
0479b443
...
...
@@ -815,7 +815,7 @@ rta_alloc_hash(void)
static
inline
unsigned
int
rta_hash
(
rta
*
a
)
{
return
(((
u
nsigned
)
a
->
src
)
^
ipa_hash
(
a
->
gw
)
^
return
(((
u
int
)
(
uintptr_t
)
a
->
src
)
^
ipa_hash
(
a
->
gw
)
^
mpnh_hash
(
a
->
nexthops
)
^
ea_hash
(
a
->
eattrs
))
&
0xffff
;
}
...
...
proto/bfd/bfd.c
View file @
0479b443
...
...
@@ -1062,7 +1062,7 @@ bfd_copy_config(struct proto_config *dest, struct proto_config *src)
// struct bfd_config *s = (struct bfd_config *) src;
/* We clean up patt_list and neigh_list, neighbors and ifaces are non-sharable */
init_list
(
&
d
->
patt_list
);
init_list
(
&
d
->
patt_list
);
init_list
(
&
d
->
neigh_list
);
}
...
...
@@ -1071,7 +1071,7 @@ bfd_show_sessions(struct proto *P)
{
byte
tbuf
[
TM_DATETIME_BUFFER_SIZE
];
struct
bfd_proto
*
p
=
(
struct
bfd_proto
*
)
P
;
uint
state
,
diag
;
uint
state
,
diag
UNUSED
;
u32
tx_int
,
timeout
;
const
char
*
ifname
;
...
...
sysdep/unix/io.c
View file @
0479b443
...
...
@@ -1967,7 +1967,7 @@ io_loop(void)
while
(
current_sock
&&
count
<
MAX_RX_STEPS
)
{
sock
*
s
=
current_sock
;
int
e
;
int
e
UNUSED
;
if
((
s
->
type
<
SK_MAGIC
)
&&
FD_ISSET
(
s
->
fd
,
&
rd
)
&&
s
->
rx_hook
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment