From a6acc72c8931ce1da08d1d9d742879cf273dc152 Mon Sep 17 00:00:00 2001 From: Phenom Date: Mon, 8 May 2017 12:18:51 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20Warnings:=20this=20=E2=80=98if=E2=80=99?= =?UTF-8?q?=20clause=20does=20not=20guard...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if(data.isRawData()) ^~ --- libresapi/src/api/ApiServer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libresapi/src/api/ApiServer.cpp b/libresapi/src/api/ApiServer.cpp index 327dd6260..d4e1c9fe5 100644 --- a/libresapi/src/api/ApiServer.cpp +++ b/libresapi/src/api/ApiServer.cpp @@ -377,8 +377,8 @@ std::string ApiServer::handleRequest(Request &request) if(data.isRawData()) return data.getRawData(); - if(!resp.mCallbackName.empty()) - outstream << resource_api::makeKeyValueReference("callback_name", resp.mCallbackName); + if(!resp.mCallbackName.empty()) + outstream << resource_api::makeKeyValueReference("callback_name", resp.mCallbackName); outstream << resource_api::makeKeyValue("debug_msg", debugString.str()); outstream << resource_api::makeKeyValueReference("returncode", returncode);