Avoid compiler warnings.

This commit is contained in:
Oliver Schmidt 2014-02-01 00:46:57 +01:00
parent 345532c559
commit a94e7e63e2
5 changed files with 21 additions and 39 deletions

View file

@ -774,7 +774,7 @@ check_entries(void)
static void
newdata(void)
{
static uint8_t nquestions, nanswers, nauthrr;
static uint8_t nquestions, nanswers;
static int8_t i;
@ -863,6 +863,7 @@ newdata(void)
}
return;
} else {
static uint8_t nauthrr;
PRINTF("resolver: But we are still probing. Waiting...\n");
/* We are still probing. We need to do the mDNS
* probe race condition check here and make sure