Fixed START command

This commit is contained in:
BenDroid 2017-11-14 23:29:13 +01:00
parent ebde8b30f6
commit 6eea2bb9d7

View file

@ -247,7 +247,6 @@ void App::onSignal(uv_signal_t* handle, int signum)
void App::onCommandReceived(uv_async_t* async) void App::onCommandReceived(uv_async_t* async)
{ {
if (async->data) {
auto command = reinterpret_cast<ControlCommand::Command &> (async->data); auto command = reinterpret_cast<ControlCommand::Command &> (async->data);
switch (command) { switch (command) {
case ControlCommand::START: case ControlCommand::START:
@ -265,4 +264,3 @@ void App::onCommandReceived(uv_async_t* async)
break; break;
} }
} }
}