lwip/http_clnt: remove unused variable

Ref #2193
This commit is contained in:
Martin Stein 2017-02-17 16:08:02 +01:00 committed by Christian Helmuth
parent a88954394a
commit d2832c3e4d

View File

@ -91,7 +91,6 @@ int main()
enum { ADDR_STR_SZ = 16 };
char serv_addr[ADDR_STR_SZ] = { 0 };
Xml_node config_node = config()->xml_node();
Xml_node libc_node = config_node.sub_node("libc");
try { config_node.attribute("server_ip").value(serv_addr, ADDR_STR_SZ); }
catch(...) {
error("Missing \"server_ip\" attribute.");