mbed IP library over Ethernet

Dependencies:   lwip-eth Socket lwip lwip-sys

Dependents:   denki-yohou_b Network-RTOS NTPClient_HelloWorld temp_FIAP ... more

Issue: warning: variable qry may be used before being set

When doing a Compile All with the latest library (rev 45) the following warning is thrown.

Warning: C4017W: qry may be used before being set in "EthernetInterface/lwip/core/dns.c", Line: 564, Col: 18

In function dns_send qry is passed to SMEMCPY (as it's src) on line 607 It is being set on the 2 lines immediately before, so I'm not sure what the compiler is complaining about.

Line: 604

    /* fill dns query */
    qry.type = PP_HTONS(DNS_RRTYPE_A);
    qry.cls = PP_HTONS(DNS_RRCLASS_IN);
    SMEMCPY(query, &qry, SIZEOF_DNS_QUERY);

It would be preferable to remove the warning by "fixing" this to reduce noise when looking for real problems.