mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #9636 from VeijoPesonen/fix-compiler_warnings
Fix compiler warningspull/9679/head
commit
75d5bd309d
|
@ -63,8 +63,8 @@ void TLSSOCKET_ECHOTEST()
|
||||||
if (tlssocket_connect_to_echo_srv(*sock) != NSAPI_ERROR_OK) {
|
if (tlssocket_connect_to_echo_srv(*sock) != NSAPI_ERROR_OK) {
|
||||||
printf("Error from tlssocket_connect_to_echo_srv\n");
|
printf("Error from tlssocket_connect_to_echo_srv\n");
|
||||||
TEST_FAIL();
|
TEST_FAIL();
|
||||||
return;
|
|
||||||
delete sock;
|
delete sock;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
int recvd;
|
int recvd;
|
||||||
|
|
|
@ -137,8 +137,6 @@ void NETWORKINTERFACE_STATUS_NONBLOCK()
|
||||||
|
|
||||||
void NETWORKINTERFACE_STATUS_GET()
|
void NETWORKINTERFACE_STATUS_GET()
|
||||||
{
|
{
|
||||||
nsapi_connection_status_t status;
|
|
||||||
|
|
||||||
net = NetworkInterface::get_default_instance();
|
net = NetworkInterface::get_default_instance();
|
||||||
net->set_blocking(true);
|
net->set_blocking(true);
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
#include "hal/gpio_api.h"
|
#include "hal/gpio_api.h"
|
||||||
#include "platform/mbed_wait_api.h"
|
#include "platform/mbed_wait_api.h"
|
||||||
#include "platform/mbed_toolchain.h"
|
#include "platform/mbed_toolchain.h"
|
||||||
|
|
Loading…
Reference in New Issue