From ce1583a756fe7d80522ed3e82275705b9cbe00b7 Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Mon, 21 Nov 2011 13:03:06 +0100 Subject: =?UTF-8?q?Code=20cleanup=20and=20optimization=20(thanks=20to=20Vi?= =?UTF-8?q?lle=20Skytt=E4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/connection.c | 2 -- server/connectionHTTP.c | 2 -- 2 files changed, 4 deletions(-) (limited to 'server') diff --git a/server/connection.c b/server/connection.c index a73470b..366eec5 100644 --- a/server/connection.c +++ b/server/connection.c @@ -281,7 +281,6 @@ cDevice* cServerConnection::CheckDevice(const cChannel *Channel, int Priority, b return NULL; // no CAM is able to decrypt this channel } - bool NeedsDetachReceivers = false; cDevice *d = NULL; //cCamSlot *s = NULL; @@ -335,7 +334,6 @@ cDevice* cServerConnection::CheckDevice(const cChannel *Channel, int Priority, b // This device has less impact than any previous one, so we take it. Impact = imp; d = device; - NeedsDetachReceivers = ndr; } } } diff --git a/server/connectionHTTP.c b/server/connectionHTTP.c index ffcc924..161d5c7 100644 --- a/server/connectionHTTP.c +++ b/server/connectionHTTP.c @@ -228,8 +228,6 @@ bool cConnectionHTTP::ProcessRequest(void) void cConnectionHTTP::Flushed(void) { - std::string line; - if (m_Status != hsBody) return; -- cgit v1.2.3