Fix lots of compiler warnings

This commit is contained in:
Ralf Schlatterbeck 2014-05-31 15:52:33 +02:00
parent 47d1c2a74d
commit 478d91ac53
9 changed files with 12 additions and 15 deletions

View file

@ -254,13 +254,11 @@ collect_neighbor_list_remove(struct collect_neighbor_list *neighbors_list,
struct collect_neighbor *
collect_neighbor_list_best(struct collect_neighbor_list *neighbors_list)
{
int found;
struct collect_neighbor *n, *best;
uint16_t rtmetric;
rtmetric = RTMETRIC_MAX;
best = NULL;
found = 0;
if(neighbors_list == NULL) {
return NULL;