diff --git a/libsrc/api/JsonAPI.cpp b/libsrc/api/JsonAPI.cpp index 4dc5ecc7..92f1b0f9 100644 --- a/libsrc/api/JsonAPI.cpp +++ b/libsrc/api/JsonAPI.cpp @@ -1495,7 +1495,7 @@ void JsonAPI::handlePlatformCommand(const QJsonObject & message, const QString & //const QString & name = message["name"].toString(); sendSuccessReply(command+"-"+subc, tan); - int result = system("poweroff"); + system("poweroff"); } void JsonAPI::handleNotImplemented()