Fixed a bunch of compiler warnings
This commit is contained in:
parent
9a74ada90c
commit
a027832f94
3 changed files with 11 additions and 7 deletions
|
@ -1076,10 +1076,13 @@ rpl_recalculate_ranks(void)
|
|||
int
|
||||
rpl_process_parent_event(rpl_instance_t *instance, rpl_parent_t *p)
|
||||
{
|
||||
rpl_rank_t old_rank;
|
||||
int return_value;
|
||||
|
||||
#if DEBUG
|
||||
rpl_rank_t old_rank;
|
||||
old_rank = instance->current_dag->rank;
|
||||
#endif /* DEBUG */
|
||||
|
||||
return_value = 1;
|
||||
|
||||
if(!acceptable_rank(p->dag, p->rank)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue