Fix compile warning about initializing and variable order

pull/8640/head
Kari Haapalehto 2018-11-05 12:45:53 +02:00
parent 0e6eac5faa
commit c7afb91f62
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ void Nanostack::Interface::attach(
} }
Nanostack::Interface::Interface(NanostackPhy &phy) : interface_phy(phy), interface_id(-1), _device_id(-1), 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(); mesh_system_init();
} }