squelch compiler warning
authorHannes Gredler <hannes@gredler.at>
Fri, 29 May 2009 20:46:17 +0000 (22:46 +0200)
committerHannes Gredler <hannes@gredler.at>
Fri, 29 May 2009 20:46:17 +0000 (22:46 +0200)
src/lq_mpr.c

index b5c4445..9b73741 100644 (file)
@@ -109,6 +109,7 @@ olsr_calculate_lq_mpr(void)
       best_1hop = lnk->linkcost;
 
       /* see wether we find a better route via an MPR */
+      walker = NULL;
       OLSR_FOR_ALL_NBR_LIST_ENTRIES(nbr2, walker) {
         if (walker->path_linkcost < best_1hop) {
           break;