From ccbe99de8236bdb84a1b01e92eda121333357040 Mon Sep 17 00:00:00 2001 From: Thorsten von Eicken Date: Sun, 3 Apr 2016 00:07:28 -0700 Subject: [PATCH] fix #122: uninitialized vars in REST_Setup --- rest/rest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rest/rest.c b/rest/rest.c index fd116a1..a267059 100644 --- a/rest/rest.c +++ b/rest/rest.c @@ -200,7 +200,8 @@ rest_dns_found(const char *name, ip_addr_t *ipaddr, void *arg) { void ICACHE_FLASH_ATTR REST_Setup(CmdPacket *cmd) { CmdRequest req; - uint32_t port, security; + uint16_t port; + uint8_t security; int32_t err = -1; // error code in case of failure // start parsing the command