From 739b901e0dcac6570839ce66099fe1c001ade0cd Mon Sep 17 00:00:00 2001 From: George Oikonomou Date: Sat, 18 Mar 2017 14:01:10 +0000 Subject: [PATCH] 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 --- apps/webserver/httpd-cgi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/webserver/httpd-cgi.c b/apps/webserver/httpd-cgi.c index 0cd474f9b..5ccba151e 100644 --- a/apps/webserver/httpd-cgi.c +++ b/apps/webserver/httpd-cgi.c @@ -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