mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-22 14:30:11 +00:00
Add missing variable declaration
#1972 removed the declaration of `i` from various locations. In one of those locations it is still needed. This commit puts it back
This commit is contained in:
parent
758d9aa168
commit
739b901e0d
@ -252,8 +252,9 @@ extern uip_ds6_netif_t uip_ds6_if;
|
||||
static unsigned short
|
||||
make_addresses(void *p)
|
||||
{
|
||||
uint8_t j=0;
|
||||
uint16_t numprinted;
|
||||
uint8_t i, j = 0;
|
||||
uint16_t numprinted;
|
||||
|
||||
numprinted = httpd_snprintf((char *)uip_appdata, uip_mss(),httpd_cgi_addrh);
|
||||
for (i=0; i<UIP_DS6_ADDR_NB;i++) {
|
||||
if (uip_ds6_if.addr_list[i].isused) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user