From db26028b5243745020a248c2d7fc9c6de992db20 Mon Sep 17 00:00:00 2001 From: SputnikElf Date: Tue, 31 Dec 2019 10:17:03 +0100 Subject: [PATCH] Unused variable deletet --- libsrc/api/JsonAPI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()