Skip to content

Fix compiler warnings #9636

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion TESTS/netsocket/tls/tlssocket_echotest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ void TLSSOCKET_ECHOTEST()
if (tlssocket_connect_to_echo_srv(*sock) != NSAPI_ERROR_OK) {
printf("Error from tlssocket_connect_to_echo_srv\n");
TEST_FAIL();
return;
delete sock;
return;
}

int recvd;
Expand Down
2 changes: 0 additions & 2 deletions TESTS/network/interface/networkinterface_status.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ void NETWORKINTERFACE_STATUS_NONBLOCK()

void NETWORKINTERFACE_STATUS_GET()
{
nsapi_connection_status_t status;

net = NetworkInterface::get_default_instance();
net->set_blocking(true);

Expand Down
1 change: 1 addition & 0 deletions platform/mbed_board.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* limitations under the License.
*/
#include <stdio.h>
#include <string.h>
#include "hal/gpio_api.h"
#include "platform/mbed_wait_api.h"
#include "platform/mbed_toolchain.h"
Expand Down