From f4f49b2b46a9d75cf4083bd1e6e1c6fba3e3778c Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Mon, 26 May 2014 12:42:47 +0200 Subject: [PATCH] remove unused variable --- Server/RequestHandler.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Server/RequestHandler.cpp b/Server/RequestHandler.cpp index f4fc0434f..7b6955dbb 100644 --- a/Server/RequestHandler.cpp +++ b/Server/RequestHandler.cpp @@ -88,7 +88,6 @@ void RequestHandler::handle_request(const http::Request &req, http::Reply &reply const int position = std::distance(request.begin(), it); JSON::Object json_result; json_result.values["status"] = 400; - std::string tmp_position_string = IntToString(position); std::string message = ("Query string malformed close to position " + IntToString(position)); json_result.values["status_message"] = message; JSON::render(reply.content, json_result);