Skip to content

Commit c7afb91

Browse files
Fix compile warning about initializing and variable order
1 parent 0e6eac5 commit c7afb91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/nanostack/mbed-mesh-api/source/MeshInterfaceNanostack.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void Nanostack::Interface::attach(
6969
}
7070

7171
Nanostack::Interface::Interface(NanostackPhy &phy) : interface_phy(phy), interface_id(-1), _device_id(-1),
72-
_connect_status(NSAPI_STATUS_DISCONNECTED), _blocking(true), _previous_connection_status(NSAPI_STATUS_DISCONNECTED)
72+
_connect_status(NSAPI_STATUS_DISCONNECTED), _previous_connection_status(NSAPI_STATUS_DISCONNECTED), _blocking(true)
7373
{
7474
mesh_system_init();
7575
}

0 commit comments

Comments
 (0)