ARMmbed / mbed-os-example-sockets

Simple example for the network-socket API
Apache License 2.0
20 stars 38 forks source link

Redeclaration of status variable #185

Closed DesktopMan closed 3 years ago

DesktopMan commented 3 years ago

The status variable result is redeclared inside the while loop. This seems like an error.

https://github.com/ARMmbed/mbed-os-example-sockets/blob/e76092b773325d0d147211877cb89a4984a7939a/source/main.cpp#L185-L187

ciarmcom commented 3 years ago

@DesktopMan This issue has an incomplete or old issue template.For future reference please use an up to date clone of the repository before raising issues. Many thanks.

ciarmcom commented 3 years ago

Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers. Internal Jira reference: https://jira.arm.com/browse/IOTOSM-3830

paul-szczepanek-arm commented 3 years ago

Thanks for spotting that. I'll make a fix ASAP.

paul-szczepanek-arm commented 3 years ago

https://github.com/ARMmbed/mbed-os-example-sockets/pull/186