From c7afb91f6231c78c912f4a8eb26e3aa0fa079e96 Mon Sep 17 00:00:00 2001 From: Kari Haapalehto Date: Mon, 5 Nov 2018 12:45:53 +0200 Subject: [PATCH] Fix compile warning about initializing and variable order --- .../nanostack/mbed-mesh-api/source/MeshInterfaceNanostack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/nanostack/mbed-mesh-api/source/MeshInterfaceNanostack.cpp b/features/nanostack/mbed-mesh-api/source/MeshInterfaceNanostack.cpp index 0a50086304..72702dd2bc 100644 --- a/features/nanostack/mbed-mesh-api/source/MeshInterfaceNanostack.cpp +++ b/features/nanostack/mbed-mesh-api/source/MeshInterfaceNanostack.cpp @@ -69,7 +69,7 @@ void Nanostack::Interface::attach( } Nanostack::Interface::Interface(NanostackPhy &phy) : interface_phy(phy), interface_id(-1), _device_id(-1), - _connect_status(NSAPI_STATUS_DISCONNECTED), _blocking(true), _previous_connection_status(NSAPI_STATUS_DISCONNECTED) + _connect_status(NSAPI_STATUS_DISCONNECTED), _previous_connection_status(NSAPI_STATUS_DISCONNECTED), _blocking(true) { mesh_system_init(); }